We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1daea9a commit 7f57ee0Copy full SHA for 7f57ee0
1 file changed
.github/workflows/release.yml
@@ -29,7 +29,7 @@ jobs:
29
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
30
with:
31
fetch-depth: 0
32
- persist-credentials: false
+ persist-credentials: true # release job pushes version changes
33
- name: Check for changesets
34
id: changesets
35
run: |
@@ -64,7 +64,7 @@ jobs:
64
git config user.email "github-actions[bot]@users.noreply.github.com"
65
git add .
66
if git commit -m "ci: changeset release"; then
67
- git push "https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git" "HEAD:${GITHUB_REF_NAME}"
+ git push origin "HEAD:${GITHUB_REF_NAME}"
68
echo "committed=true" >> "$GITHUB_OUTPUT"
69
fi
70
env:
0 commit comments