Skip to content

Commit 1bae935

Browse files
committed
Added permissions for GitHub Actions
1 parent bfa5376 commit 1bae935

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/production-deploy.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ on:
3434
default: '5'
3535
jobs:
3636
deploy:
37+
permissions:
38+
contents: write
39+
packages: write
40+
id-token: write
3741
uses: lambda-feedback/evaluation-function-workflows/.github/workflows/deploy.yml@main
3842
with:
3943
template-repository-name: 'lambda-feedback/evaluation-function-boilerplate-python'

.github/workflows/staging-deploy.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ jobs:
5252
if-no-files-found: warn
5353
deploy:
5454
needs: test
55+
permissions:
56+
contents: write
57+
packages: write
58+
id-token: write
5559
uses: lambda-feedback/evaluation-function-workflows/.github/workflows/deploy.yml@main
5660
with:
5761
template-repository-name: "lambda-feedback/evaluation-function-boilerplate-python"

0 commit comments

Comments
 (0)