From 6a2d78e2a98d177af950b31d9f53120b359424ee Mon Sep 17 00:00:00 2001 From: NorthernMan54 <19808920+NorthernMan54@users.noreply.github.com> Date: Mon, 12 Aug 2024 13:24:43 -0400 Subject: [PATCH] Update Build_and_Publish.yml --- .github/workflows/Build_and_Publish.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/Build_and_Publish.yml b/.github/workflows/Build_and_Publish.yml index 293e143..a55cbe5 100644 --- a/.github/workflows/Build_and_Publish.yml +++ b/.github/workflows/Build_and_Publish.yml @@ -14,9 +14,6 @@ on: branches: [beta-*.*.*, beta] workflow_dispatch: -permissions: - id-token: write - jobs: get_tags: runs-on: ubuntu-latest @@ -83,6 +80,8 @@ jobs: branch: ${{ github.ref }} publish_prod_release: + permissions: + id-token: write needs: [get_tags, create_documentation] name: Publish Release Version if: ${{ needs.get_tags.outputs.BRANCH_NAME == 'main' }} @@ -93,6 +92,8 @@ jobs: npm_auth_token: ${{ secrets.npm_token }} publish_test_release: + permissions: + id-token: write needs: [get_tags, create_documentation] name: Publish Test Version - ${{ needs.get_tags.outputs.BRANCH_NAME }} if: ${{ needs.get_tags.outputs.BRANCH_NAME != 'main' }}