Skip to content

Commit

Permalink
workflows: move write permission in release workflow to release job
Browse files Browse the repository at this point in the history
The other jobs in the workflow don't need it.

Signed-off-by: Benjamin Gilbert <[email protected]>
  • Loading branch information
bgilbert committed Dec 2, 2023
1 parent a72d51e commit 649eb17
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
tags: ["v*"]

permissions:
contents: write
contents: read

concurrency: release-${{ github.ref }}

Expand Down Expand Up @@ -52,6 +52,8 @@ jobs:
name: Release
needs: [setup, stable]
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Download artifacts
uses: actions/download-artifact@v3
Expand Down

0 comments on commit 649eb17

Please sign in to comment.