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