Skip to content

Commit

Permalink
Merge pull request #993 from pantheon-systems/changeset-user
Browse files Browse the repository at this point in the history
Do not persist credentials for release checkouts
  • Loading branch information
backlineint authored Dec 12, 2023
2 parents 2cc0b0b + e75261f commit e6af9be
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 e6af9be

Please sign in to comment.