Skip to content

Commit

Permalink
Chore: updated workflow permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
Akalanka47000 committed Jul 27, 2024
1 parent dcb9ad4 commit 265b4d6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
- development
workflow_dispatch:

permissions:
id-token: write

jobs:
release:
runs-on: ubuntu-latest
Expand All @@ -19,4 +22,4 @@ jobs:
- name: Release packages 🚀
uses: ./.github/actions/release
with:
npm_token: ${{ secrets.NPM_TOKEN }}
npm_token: ${{ secrets.NPM_TOKEN }}
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
- main
workflow_dispatch:

permissions:
id-token: write

jobs:
release:
runs-on: ubuntu-latest
Expand All @@ -19,4 +22,4 @@ jobs:
- name: Release packages 🚀
uses: ./.github/actions/release
with:
npm_token: ${{ secrets.NPM_TOKEN }}
npm_token: ${{ secrets.NPM_TOKEN }}

0 comments on commit 265b4d6

Please sign in to comment.