feat(ecs): give cluster a method that provides task arn #78463
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://octokit.github.io/rest.js | |
# https://github.com/actions/toolkit/blob/master/packages/github/src/context.ts | |
name: PR Linter | |
on: | |
pull_request_target: | |
types: | |
- labeled | |
- unlabeled | |
- edited | |
- opened | |
- synchronize | |
- reopened | |
pull_request_review: | |
types: | |
- submitted | |
status: | |
jobs: | |
validate-pr: | |
# Necessary to have sufficient permissions to write to the PR | |
permissions: | |
contents: read | |
pull-requests: write | |
statuses: read | |
issues: read | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install & Build prlint | |
run: yarn install --frozen-lockfile && cd tools/@aws-cdk/prlint && yarn build+test | |
- name: Validate | |
uses: ./tools/@aws-cdk/prlint | |
env: | |
GITHUB_TOKEN: ${{ secrets.PROJEN_GITHUB_TOKEN }} | |
REPO_ROOT: ${{ github.workspace }} |