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 37b3f2e commit d7e6332Copy full SHA for d7e6332
1 file changed
.github/workflows/release.yml
@@ -60,10 +60,13 @@ jobs:
60
HUSKY: 0
61
62
- name: Sync release to main
63
+ env:
64
+ GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
65
run: |
- git config --global user.name "github-actions[bot]"
- git config --global user.email "github-actions[bot]@users.noreply.github.com"
66
+ git config user.name "github-actions[bot]"
67
+ git config user.email "github-actions[bot]@users.noreply.github.com"
68
+ git fetch origin release
69
git fetch origin main
70
git checkout main
- git merge origin/release --ff-only
- git push https://x-access-token:${{ secrets.PAT_TOKEN }}@github.com/${{ github.repository }}.git main
71
+ git merge origin/release --no-edit
72
+ git push https://x-access-token:${GITHUB_TOKEN}@github.com/${{ github.repository }}.git main
0 commit comments