mirror of
https://github.com/Kpa-clawbot/meshcore-analyzer.git
synced 2026-04-04 17:18:40 +00:00
ci: fix badge push — use GITHUB_TOKEN for write access
This commit is contained in:
2
.github/workflows/deploy.yml
vendored
2
.github/workflows/deploy.yml
vendored
@@ -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