We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 19fd03f + 1367e42 commit 36e3bacCopy full SHA for 36e3bac
1 file changed
.github/workflows/project-health.yml
@@ -72,12 +72,13 @@ jobs:
72
73
- name: Auto-commit STATUS.md (main branch only)
74
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
75
+ continue-on-error: true
76
run: |
77
if ! git diff --quiet -- STATUS.md; then
78
git config user.name "github-actions[bot]"
79
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
80
git add STATUS.md
81
git commit -m "chore: update STATUS.md [skip ci]"
82
REPO_URL="https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git"
- git push "${REPO_URL}" HEAD:main
83
+ git push "${REPO_URL}" HEAD:main || echo "::warning::STATUS.md auto-commit skipped (branch protection requires PR)"
84
fi
0 commit comments