-
Notifications
You must be signed in to change notification settings - Fork 4k
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' into neilsd/multipart_ud_methods_support
- Loading branch information
Showing
419 changed files
with
27,430 additions
and
4,191 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
name: auto-approve | ||
on: | ||
pull_request: | ||
pull_request_target: | ||
types: [ labeled, unlabeled, opened, synchronize, reopened, ready_for_review, review_requested ] | ||
|
||
jobs: | ||
|
@@ -13,6 +13,8 @@ jobs: | |
|| github.event.pull_request.user.login == 'dependabot[bot]' | ||
|| github.event.pull_request.user.login == 'dependabot-preview[bot]') | ||
runs-on: ubuntu-latest | ||
permissions: | ||
pull-requests: write | ||
steps: | ||
- uses: hmarr/[email protected] | ||
with: | ||
|
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 |
---|---|---|
|
@@ -7,6 +7,8 @@ on: | |
|
||
jobs: | ||
cleanup: | ||
permissions: | ||
issues: write | ||
runs-on: ubuntu-latest | ||
name: Stale issue job | ||
steps: | ||
|
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,17 +1,19 @@ | ||
name: Closed Issue Message | ||
on: | ||
issues: | ||
types: [closed] | ||
issues: | ||
types: [closed] | ||
jobs: | ||
auto_comment: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: aws-actions/closed-issue-message@v1 | ||
with: | ||
# These inputs are both required | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" | ||
message: | | ||
### ⚠️COMMENT VISIBILITY WARNING⚠️ | ||
Comments on closed issues are hard for our team to see. | ||
If you need more assistance, please either tag a team member or open a new issue that references this one. | ||
If you wish to keep having a conversation with other community members under this issue feel free to do so. | ||
auto_comment: | ||
permissions: | ||
issues: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: aws-actions/closed-issue-message@v1 | ||
with: | ||
# These inputs are both required | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" | ||
message: | | ||
### ⚠️COMMENT VISIBILITY WARNING⚠️ | ||
Comments on closed issues are hard for our team to see. | ||
If you need more assistance, please either tag a team member or open a new issue that references this one. | ||
If you wish to keep having a conversation with other community members under this issue feel free to do so. |
Large diffs are not rendered by default.
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
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 |
---|---|---|
|
@@ -9,6 +9,8 @@ on: | |
jobs: | ||
upgrade: | ||
name: Yarn Upgrade | ||
permissions: | ||
contents: read | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
|
@@ -25,7 +27,7 @@ jobs: | |
run: echo "::set-output name=dir::$(yarn cache dir)" | ||
|
||
- name: Restore Yarn cache | ||
uses: actions/[email protected].5 | ||
uses: actions/[email protected].6 | ||
with: | ||
path: ${{ steps.yarn-cache.outputs.dir }} | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | ||
|
@@ -68,6 +70,39 @@ jobs: | |
# also - jest-enviroment-jsdom doesnt actually require 16.5.1 (https://github.com/facebook/jest/blob/master/packages/jest-environment-jsdom/package.json#L23) | ||
run: yarn upgrade --pattern '!(jsdom)' | ||
|
||
# Next, create and upload the changes as a patch file. This will later be downloaded to create a pull request | ||
# Creating a pull request requires write permissions and it's best to keep write privileges isolated. | ||
- name: Create Patch | ||
run: |- | ||
git add . | ||
git diff --patch --staged > ${{ runner.temp }}/upgrade.patch | ||
- name: Upload Patch | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: upgrade.patch | ||
path: ${{ runner.temp }}/upgrade.patch | ||
|
||
pr: | ||
name: Create Pull Request | ||
needs: upgrade | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check Out | ||
uses: actions/checkout@v2 | ||
|
||
- name: Download patch | ||
uses: actions/download-artifact@v2 | ||
with: | ||
name: upgrade.patch | ||
path: ${{ runner.temp }} | ||
|
||
- name: Apply patch | ||
run: '[ -s ${{ runner.temp }}/upgrade.patch ] && git apply ${{ runner.temp | ||
}}/upgrade.patch || echo "Empty patch. Skipping."' | ||
|
||
- name: Make Pull Request | ||
uses: peter-evans/create-pull-request@v3 | ||
with: | ||
|
@@ -82,5 +117,6 @@ jobs: | |
Ran npm-check-updates and yarn upgrade to keep the `yarn.lock` file up-to-date. | ||
labels: contribution/core,dependencies,pr/auto-approve | ||
team-reviewers: aws-cdk-team | ||
# Privileged token so automated PR validation happens | ||
# Github prevents further Github actions to be run if the default Github token is used. | ||
# Instead use a privileged token here, so further GH actions can be triggered on this PR. | ||
token: ${{ secrets.AUTOMATION_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
Oops, something went wrong.