Skip to content

Commit 43c73fb

Browse files
committed
chore: Update GitHub Actions workflow to push changes to the master branch with a personal access token
1 parent a6b6638 commit 43c73fb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ jobs:
3030

3131
- name: Commit and push version change
3232
env:
33-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33+
GITHUB_TOKEN: ${{ secrets.PAT }}
3434
run: |
3535
git config --global user.name 'github-actions'
3636
git config --global user.email 'github-actions@github.com'
3737
git add package.json
3838
git commit -m "Update version to ${{ github.event.release.tag_name }}"
39-
git push origin HEAD:master # Push changes to the master branch
39+
git push https://x-access-token:${{ secrets.PAT }}@github.com/byteyard/modulatecss.git HEAD:master
4040
4141
- name: Publish to npm
4242
env:

0 commit comments

Comments
 (0)