Skip to content

Commit 7ba76c9

Browse files
Update GitHub Actions workflow to use GH_PAT for badge upload instead of GITHUB_TOKEN, enhancing security and authentication practices.
1 parent c223b75 commit 7ba76c9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/total-loc-badge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,5 @@ jobs:
3838
- name: Upload badge to GitHub Pages
3939
uses: peaceiris/actions-gh-pages@v3
4040
with:
41-
github_token: ${{ secrets.GITHUB_TOKEN }}
41+
github_token: ${{ secrets.GH_PAT }}
4242
publish_dir: ./badge

0 commit comments

Comments
 (0)