mirror of
https://github.com/Kpa-clawbot/meshcore-analyzer.git
synced 2026-04-25 18:52:08 +00:00
ci: fix frontend-test channel assertion + badge push non-fatal
Channel messages response may not have .messages array. Badge push now continue-on-error (self-hosted runner permissions).
This commit is contained in:
3
.github/workflows/deploy.yml
vendored
3
.github/workflows/deploy.yml
vendored
@@ -52,12 +52,13 @@ jobs:
|
||||
|
||||
- name: Publish badges
|
||||
if: success()
|
||||
continue-on-error: true
|
||||
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) || echo "Badge push failed (permissions) — badges will be stale"
|
||||
git diff --cached --quiet || (git commit -m "ci: update test badges [skip ci]" && git push)
|
||||
|
||||
deploy:
|
||||
|
||||
Reference in New Issue
Block a user