Skip to content

Commit

Permalink
fix: permissions on publishing pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
NickChecan committed Oct 18, 2024
1 parent 9c3af30 commit b6a5c64
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,14 @@ on:
branches:
- main

permissions:
packages: write
contents: write
pull-requests: write

jobs:
deploy:
if: ${{ github.ref == 'refs/heads/main' }}
runs-on: ubuntu-latest
permissions:
packages: write
contents: write
pull-requests: write
steps:

- uses: actions/checkout@v3
Expand All @@ -32,6 +31,8 @@ jobs:
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
needs: deploy
permissions:
contents: write
steps:

- name: Checkout
Expand Down

0 comments on commit b6a5c64

Please sign in to comment.