-
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 'main' into bedrock-llama3
- Loading branch information
Showing
37 changed files
with
536 additions
and
122 deletions.
There are no files selected for viewing
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 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 @@ | ||
name: Lock Closed Issues and PRs with message | ||
|
||
on: | ||
pull_request_target: | ||
types: [closed] | ||
issues: | ||
types: [closed] | ||
|
||
jobs: | ||
auto_comment: | ||
permissions: | ||
pull-requests: write | ||
issues: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: aws-actions/closed-issue-message@v1 | ||
with: | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" | ||
message: | | ||
Comments on closed issues and PRs are hard for our team to see. | ||
If you need help, please open a new issue that references this one. | ||
lock: | ||
permissions: | ||
pull-requests: write | ||
issues: write | ||
runs-on: ubuntu-latest | ||
needs: auto_comment # only run after comment is complete | ||
steps: | ||
- name: Lock closed issue or PR | ||
run: | | ||
if [ "${{ github.event_name }}" == "issues" ]; then | ||
ISSUE_NUMBER=${{ github.event.issue.number }} | ||
ISSUE_URL=https://api.github.com/repos/${{ github.repository }}/issues/${ISSUE_NUMBER}/lock | ||
else | ||
ISSUE_NUMBER=${{ github.event.pull_request.number }} | ||
ISSUE_URL=https://api.github.com/repos/${{ github.repository }}/issues/${ISSUE_NUMBER}/lock | ||
fi | ||
curl -s -X PUT -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ | ||
-H "Accept: application/vnd.github.v3+json" \ | ||
${ISSUE_URL} \ | ||
-d @- <<EOF | ||
{ | ||
"lock_reason": "resolved" | ||
} | ||
EOF |
4 changes: 2 additions & 2 deletions
4
...test/aws-ec2/test/integ.launch-template.js.snapshot/aws-cdk-ec2-lt-metadata-1.assets.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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 |
---|---|---|
|
@@ -211,7 +211,8 @@ | |
} | ||
] | ||
} | ||
] | ||
], | ||
"VersionDescription": "test template v1" | ||
} | ||
}, | ||
"sg2860DD91F": { | ||
|
2 changes: 1 addition & 1 deletion
2
...testing/framework-integ/test/aws-ec2/test/integ.launch-template.js.snapshot/manifest.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
107 changes: 54 additions & 53 deletions
107
...cdk-testing/framework-integ/test/aws-ec2/test/integ.launch-template.js.snapshot/tree.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions
1
...54518518480c0d9fb344a098/helm/__init__.py → ...457f5446c34c22be7e6f7f51/helm/__init__.py
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.