Skip to content

Commit dbdb9cc

Browse files
committed
ci: fix update snapshot workflow
1 parent caa83ab commit dbdb9cc

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/update-snapshot.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ jobs:
2020
pull-requests: write
2121
steps:
2222
- uses: actions/checkout@v5
23-
with:
24-
persist-credentials: false
2523

2624
- run: rm -rf test/snapshot
2725

@@ -41,6 +39,7 @@ jobs:
4139
git switch -c update-snapshots-${{ github.run_id }}
4240
git add test/snapshot
4341
git commit -m 'test: update snapshots'
44-
gh pr create --fill --head update-snapshots-${{ github.run_id }} --base "$GITHUB_REF_NAME"
42+
git push origin update-snapshots-${{ github.run_id }}
43+
gh pr create --fill --base "$GITHUB_REF_NAME"
4544
env:
4645
GH_TOKEN: ${{ github.token }}

0 commit comments

Comments
 (0)