Skip to content

Commit 8497660

Browse files
committed
Fix Token-Permissions
1 parent 6a47dd7 commit 8497660

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/on-prerelease.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ jobs:
8484
shell: pwsh
8585
needs: pack
8686
permissions:
87-
actions: read
8887
contents: write
8988
attestations: write
9089
id-token: write
@@ -110,7 +109,6 @@ jobs:
110109
name: Create Provenance
111110
needs: pack
112111
permissions:
113-
actions: read
114112
id-token: write
115113
contents: write
116114
uses: Ed-Fi-Alliance-OSS/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@main

.github/workflows/on-push-main.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,13 @@ concurrency:
1919
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
2020
cancel-in-progress: true
2121

22-
permissions:
23-
contents: write
22+
permissions: read-all
2423

2524
jobs:
2625
dependency-submission:
2726
runs-on: ubuntu-latest
27+
permissions:
28+
contents: write
2829
defaults:
2930
run:
3031
working-directory: kafka/ed-fi-kafka-connect-transforms

0 commit comments

Comments
 (0)