Skip to content

Commit 69f94c0

Browse files
authored
need write perms to store note (#40)
Signed-off-by: Tom Hennen <[email protected]>
1 parent f9371a3 commit 69f94c0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/create_slsa_source_vsa.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
jobs:
77
create_vsa:
88
permissions:
9-
contents: read
9+
contents: write # needed for storing the vsa in the repo
1010
id-token: write
1111
runs-on: ubuntu-latest
1212
steps:

.github/workflows/local_attest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ on:
88
workflow_dispatch:
99

1010
jobs:
11-
# Whenever new source is pushed or a PR is received, scan it for any issues
11+
# Whenever new source is pushed or a PR is received, create a new vsa
1212
check-change:
1313
permissions:
14-
contents: read
14+
contents: write # needed for storing the vsa in the repo.
1515
id-token: write
1616
# TODO: Can we make this work for forks too?
1717
uses: slsa-framework/slsa-source-poc/.github/workflows/create_slsa_source_vsa.yml@main

0 commit comments

Comments
 (0)