Skip to content

Commit

Permalink
Set job-specific write permissions
Browse files Browse the repository at this point in the history
Signed-off-by: Cary Phillips <[email protected]>
  • Loading branch information
cary-ilm committed Mar 31, 2024
1 parent 4dbc064 commit 1e5fe70
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/release-sign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,8 @@ on:
types: [published]

permissions:
contents: write
id-token: write
repository-projects: write

contents: read

jobs:
release:
name: Sign & upload release artifacts
Expand All @@ -34,6 +32,11 @@ jobs:
env:
TAG: ${{ github.ref_name }}

permissions:
contents: write
id-token: write
repository-projects: write

steps:

- name: Set Prefix
Expand Down

0 comments on commit 1e5fe70

Please sign in to comment.