Skip to content

Commit bb59b5a

Browse files
authored
chore(tools): update lambda runtime tests github action (#32788)
The GH Action workflow was missing the required permission to update the PR to automatically update the integ test cases ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent f2ade56 commit bb59b5a

File tree

31 files changed

+861
-1433
lines changed

31 files changed

+861
-1433
lines changed

.github/workflows/lambda-runtime-tests.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ jobs:
88
update-lambda-tests:
99
if: github.repository == 'aws/aws-cdk'
1010
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write
1113
steps:
1214
- uses: actions/checkout@v4
1315
with:
@@ -44,4 +46,6 @@ jobs:
4446
git config --global user.email '[email protected]'
4547
git add .
4648
git commit -m "chore: update lambda runtime integration tests"
47-
git push origin ${{ github.event.pull_request.head.ref }}
49+
git push origin ${{ github.event.pull_request.head.ref }}
50+
env:
51+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.nodejs.build.images.js.snapshot/LambdaNodeJsLatestIntegDefaultTestDeployAssertD40B5C28.assets.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.nodejs.build.images.js.snapshot/LambdaNodeJsLatestIntegDefaultTestDeployAssertD40B5C28.template.json

Lines changed: 25 additions & 120 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ.nodejs.build.images.js.snapshot/cdk-integ-lambda-nodejs-latest.assets.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)