mirror of
https://github.com/Kpa-clawbot/meshcore-analyzer.git
synced 2026-10-22 23:21:18 +00:00
ci: fix badge push — use GITHUB_TOKEN for write access
This commit is contained in:
1 parent
b540b34ee9
commit
954d6e4e5b
1 file changed
+2
@@ -55,8 +55,10 @@ jobs:
|
||||
run: |
|
||||
git config user.name "github-actions"
|
||||
git config user.email "actions@github.com"
|
||||
git remote set-url origin https://x-access-token:${{ github.token }}@github.com/${{ github.repository }}.git
|
||||
git add .badges/ -f
|
||||
git diff --cached --quiet || (git commit -m "ci: update test badges [skip ci]" && git push)
|
||||
git diff --cached --quiet || (git commit -m "ci: update test badges [skip ci]" && git push)
|
||||
|
||||
deploy:
|
||||
needs: test
|
||||
|
||||
Reference in new issue
Block a user