Skip to content

ci(deps): sync action versions to templates - #20

Open
github-actions[bot] wants to merge 7 commits into
mainfrom
auto/sync-action-versions-20260324131853
Open

ci(deps): sync action versions to templates#20
github-actions[bot] wants to merge 7 commits into
mainfrom
auto/sync-action-versions-20260324131853

Conversation

@github-actions

Copy link
Copy Markdown

Automated PR to sync GitHub Action versions from .github/workflows/ to templates/.

This ensures templates stay in sync with Dependabot updates.

Updated versions:

  • actions/checkout: v6
  • actions/github-script: v8
  • actions/upload-artifact: v7
  • actions/download-artifact: v8
  • actions/cache: v5

iamkayleb and others added 7 commits March 3, 2026 03:12
The summary job's "Ensure consolidated summary comment" step crashes with
ENOENT when gate-summary.md doesn't exist. This happens because consumer
repos lack tools/post_ci_summary.py (not synced), so the "Prepare summary
body" step fails, the compose step aborts on empty body, and
gate-summary.md is never created — but the comment step runs anyway due
to if: always().

Two fixes:
1. Add fs.existsSync guard before reading gate-summary.md so the step
   skips gracefully instead of crashing (both main and template)
2. Add post_ci_summary.py, ci_failure_triage.py, and __init__.py to the
   sync manifest and consumer template so the root cause is resolved

https://claude.ai/code/session_01FC8XoyssN5v6hQCTtcjoB5
…t-D9Be2

Fix Gate summary job ENOENT crash in consumer repos
…t-68

The sync workflow fails on every run because REPO_TOKEN is empty when
neither OWNER_PR_PAT nor SERVICE_BOT_PAT secrets are configured. This
causes `gh repo clone` to exit with code 4 (auth required).

- Add `github.token` as final fallback so clone/read operations succeed
- Add explicit "Verify cross-repo token" step that fails early with a
  clear error message when no PAT is available for PR creation
- This prevents all 11 matrix jobs from failing with the same cryptic
  "set GH_TOKEN environment variable" error

https://claude.ai/code/session_01FC8XoyssN5v6hQCTtcjoB5
…t-D9Be2

fix(sync): add github.token fallback to prevent auth failures in main…
Automated sync from .github/workflows/ to templates/

Updated versions:
- actions/checkout: v6
- actions/github-script: v8
- actions/upload-artifact: v7
- actions/download-artifact: v8
- actions/cache: v5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants