Skip to content

Commit 9fff45a

Browse files
authored
Added permissions (#56)
1 parent 1eda2e1 commit 9fff45a

2 files changed

Lines changed: 9 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,7 +34,11 @@ on:
3434
default: '5'
3535
jobs:
3636
deploy:
37+
permissions:
38+
packages: write
39+
id-token: write
3740
uses: lambda-feedback/evaluation-function-workflows/.github/workflows/deploy.yml@main
41+
3842
with:
3943
template-repository-name: 'lambda-feedback/evaluation-function-boilerplate-python'
4044
environment: "production"

.github/workflows/staging-deploy.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
- main
77
workflow_dispatch:
88

9+
10+
911
jobs:
1012
test:
1113
name: Test
@@ -52,6 +54,9 @@ jobs:
5254
if-no-files-found: warn
5355
deploy:
5456
needs: test
57+
permissions:
58+
packages: write
59+
id-token: write
5560
uses: lambda-feedback/evaluation-function-workflows/.github/workflows/deploy.yml@main
5661
with:
5762
template-repository-name: "lambda-feedback/evaluation-function-boilerplate-python"

0 commit comments

Comments
 (0)