Skip to content

Commit

Permalink
ci: 🎡 Fix actions permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
LudvigHz committed Jun 19, 2024
1 parent 19a5fd9 commit 665d356
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ env:
CI: true
jobs:
test-build-publish:
permissions:
contents: write
name: Test and build
runs-on: ubuntu-latest
steps:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/publish-ghpr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,16 @@ env:
CI: true
jobs:
test-build-publish:
permissions:
contents: write
packages: write
name: Publish package to GPR
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.release }}
registry-url: https://npm.pkg.github.com
- uses: actions/setup-node@v4
with:
node-version: 20
Expand Down

0 comments on commit 665d356

Please sign in to comment.