1 parent d560bc2 commit 8a414b9Copy full SHA for 8a414b9
1 file changed
.github/workflows/build-ami.yml
@@ -10,9 +10,6 @@ on:
10
jobs:
11
validate:
12
runs-on: ubuntu-latest
13
- permissions:
14
- id-token: write # Required for OIDC authentication
15
- contents: read # Required to check out the repository
16
17
steps:
18
- name: Checkout code
@@ -31,6 +28,10 @@ jobs:
31
28
32
29
build:
33
30
+ permissions:
+ id-token: write # Required for OIDC authentication
+ contents: read # Required to check out the repository
34
+
35
needs: validate
36
if: github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && github.ref == 'refs/heads/main')
37
0 commit comments