Skip to content

Commit

Permalink
release: shift permissions to job (#161)
Browse files Browse the repository at this point in the history
  • Loading branch information
thepwagner authored Jul 27, 2023
1 parent 397e82a commit 21afa2a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@ on:
push:
tags: [ 'v*.*.*' ]

permissions:
contents: write
packages: write
id-token: write
permissions: {}

jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
id-token: write
steps:
- name: Checkout
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # tag=v3.5.3
Expand Down

0 comments on commit 21afa2a

Please sign in to comment.