Skip to content

Commit

Permalink
fix: issue with permission for 03-publish-packages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nmerget committed Oct 1, 2024
1 parent 7c63315 commit 08f70f1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/03-publish-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:
publish:
name: Publish latest package versions to GitHub Packages
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
steps:
- name: ⏬ Checkout repo
uses: actions/checkout@v4
Expand Down Expand Up @@ -47,8 +50,6 @@ jobs:
return await release({github, context, workspace, iconReleaseId})
- name: 📰 Publish to NPM Registries
permissions:
id-token: write
run: |
chmod +rx ./.github/scripts/publish-npm.sh
./.github/scripts/publish-npm.sh
Expand Down

0 comments on commit 08f70f1

Please sign in to comment.