From 265b4d616e032d9352ef6c65bf2e381abeb10aab Mon Sep 17 00:00:00 2001 From: Akalanka Perera Date: Sat, 27 Jul 2024 22:14:16 +0530 Subject: [PATCH] Chore: updated workflow permissions --- .github/workflows/prerelease.yml | 5 ++++- .github/workflows/release.yml | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index f17319e..ad1c549 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -5,6 +5,9 @@ on: - development workflow_dispatch: +permissions: + id-token: write + jobs: release: runs-on: ubuntu-latest @@ -19,4 +22,4 @@ jobs: - name: Release packages 🚀 uses: ./.github/actions/release with: - npm_token: ${{ secrets.NPM_TOKEN }} \ No newline at end of file + npm_token: ${{ secrets.NPM_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a1df05a..f4cfd93 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,6 +5,9 @@ on: - main workflow_dispatch: +permissions: + id-token: write + jobs: release: runs-on: ubuntu-latest @@ -19,4 +22,4 @@ jobs: - name: Release packages 🚀 uses: ./.github/actions/release with: - npm_token: ${{ secrets.NPM_TOKEN }} \ No newline at end of file + npm_token: ${{ secrets.NPM_TOKEN }}