Skip to content

Commit 5695158

Browse files
Used RELEASE_PAT to bypass branch protection when publishing (#43)
1 parent a547e53 commit 5695158

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ jobs:
2222
steps:
2323
- name: Checkout the repository
2424
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
25+
with:
26+
token: ${{ secrets.RELEASE_PAT }}
2527

2628
- name: Setup git user
2729
run: |
@@ -69,7 +71,7 @@ jobs:
6971
- name: Push the commit to main
7072
uses: ad-m/github-push-action@master
7173
with:
72-
github_token: ${{ secrets.GITHUB_TOKEN }}
74+
github_token: ${{ secrets.RELEASE_PAT }}
7375
branch: main
7476

7577
- name: Publish the package on NPM

0 commit comments

Comments
 (0)