-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/hedrall/aws-cdk into test
- Loading branch information
Showing
531 changed files
with
18,434 additions
and
4,847 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Automated actions for PRs against the v2-main branch | ||
name: v2 | ||
on: | ||
pull_request: | ||
branches: | ||
- v2-main | ||
types: | ||
- labeled | ||
- opened | ||
- ready_for_review | ||
- reopened | ||
- synchronize | ||
- unlabeled | ||
- unlocked | ||
|
||
jobs: | ||
# Run yarn pkglint on merge forward PRs and commit the results | ||
pkglint: | ||
if: contains(github.event.pull_request.labels.*.name, 'pr/forward-merge') | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
branch: ${{ github.event.pull_request.head.ref }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
- name: lint | ||
run: |- | ||
yarn install --frozen-lockfile | ||
yarn pkglint | ||
- name: push | ||
uses: stefanzweifel/git-auto-commit-action@v4 | ||
with: | ||
commit_message: 'automatic pkglint fixes' | ||
|
||
# Approve automated PRs | ||
# Only approve! mergify takes care of the actual merge. | ||
auto-approve: | ||
if: > | ||
github.event.pull_request.user.login == 'aws-cdk-automation' | ||
&& contains(github.event.pull_request.labels.*.name, 'pr/auto-approve') | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: hmarr/auto-approve-action@v2.0.0 | ||
with: | ||
github-token: "${{ secrets.GITHUB_TOKEN }}" |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
--install.check-files true # install will verify file tree of packages for consistency | ||
ignore-engines true # the 'engines' key for 'aws-cdk-lib' has specifies node14 as min while v1 will remain at node10 |
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
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
Oops, something went wrong.