Skip to content

Commit 6a4a9cd

Browse files
committed
fix: change GitHub authentication token
1 parent 73a2d72 commit 6a4a9cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/deploy_to_netlify.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ jobs:
172172
steps:
173173
- name: Delete the PR branch after merged into develop
174174
env:
175-
GH_TOKEN: ${{ github.token }}
175+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
176176
GIT_REF_PATH: /repos/${{ github.repository }}/git/refs/heads/${{ github.head_ref }}
177177
run: |
178178
STATUS_CODE=$(gh api -i -H "Accept: application/vnd.github+json" $GIT_REF_PATH | head -1)

0 commit comments

Comments
 (0)