Skip to content

Commit

Permalink
Do not persist credentials for release checkouts
Browse files Browse the repository at this point in the history
  • Loading branch information
CobyPear committed Dec 12, 2023
1 parent 1dc669b commit eab8f4c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/canary-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.ACCESS_TOKEN }}
# workaround to ensure force pushes to changeset branch use machine account
# see https://github.com/changesets/action/issues/70
persist-credentials: false
- uses: pnpm/action-setup@v2
with:
version: 8.8.0
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/release-and-split.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,9 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3
with:
token: ${{ secrets.ACCESS_TOKEN }}
# workaround to ensure force pushes to changeset branch use machine account
# see https://github.com/changesets/action/issues/70
persist-credentials: false

- name: Setup node
if: ${{ matrix.generator_cmd != '' }}
Expand Down

0 comments on commit eab8f4c

Please sign in to comment.