From 8001f5effc07f9f816ed161bc1a4f12b40648811 Mon Sep 17 00:00:00 2001 From: Peter Siska <63866+peschee@users.noreply.github.com> Date: Fri, 12 Jan 2024 12:07:24 +0100 Subject: [PATCH] chore: use PAT for PR update to get automated checks --- .github/workflows/release.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a1167a6..624d1d4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -124,6 +124,9 @@ jobs: egress-policy: audit - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + with: + persist-credentials: false + - uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1 with: node-version: '18' @@ -158,7 +161,8 @@ jobs: publish: npm run release version: npm run version env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # Use PAT due to https://github.com/orgs/community/discussions/25702 + GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }} - name: Storybook Build run: npm run storybook:build