From ccc3dde07b039cc9bb78e047b143dd4208e9a22b Mon Sep 17 00:00:00 2001 From: Shaun Lawrie Date: Wed, 2 Oct 2024 13:13:01 +1300 Subject: [PATCH] Use pipeline PAT for content modifications --- .github/workflows/build-test-publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-test-publish.yml b/.github/workflows/build-test-publish.yml index 8a14d6f..3b0c769 100644 --- a/.github/workflows/build-test-publish.yml +++ b/.github/workflows/build-test-publish.yml @@ -24,7 +24,7 @@ jobs: - name: Version Bump shell: pwsh env: - GH_TOKEN: ${{ github.token }} + GH_TOKEN: ${{ secrets.PIPELINE_PAT }} run: | $ErrorActionPreference = "Stop" & .\PwshSpectreConsole\Build.ps1 @@ -71,7 +71,7 @@ jobs: - name: Version Bump and Publish shell: pwsh env: - GH_TOKEN: ${{ github.token }} + GH_TOKEN: ${{ secrets.PIPELINE_PAT }} run: | $ErrorActionPreference = "Stop"