ci(deps): sync action versions to templates - #29
Conversation
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…
The gh pr create command in a shallow clone (--depth=1) fails with "Head sha can't be blank, Base sha can't be blank" because it cannot infer the base branch from the truncated git history. Adding --base main and --repo explicitly resolves the ambiguity. https://claude.ai/code/session_01FC8XoyssN5v6hQCTtcjoB5
…t-D9Be2 fix(sync): add explicit --base and --repo to gh pr create
gh pr create exits non-zero when --label references a label that doesn't exist in the consumer repo, even though the PR itself was created successfully. Split labels into separate gh pr edit calls with || true so missing labels emit a warning instead of failing. https://claude.ai/code/session_01FC8XoyssN5v6hQCTtcjoB5
…t-D9Be2 fix(sync): separate label application from PR creation
Consumer repos don't have .github/scripts/__tests__/*.test.js, tests/workflows/github_scripts/, or scripts/check_issue_consistency.py. These files only exist in the Workflows repo. Add existence checks so the Gate workflow skips these steps gracefully instead of failing. Fixes github-scripts-tests and issue-consistency Gate failures on consumer repo sync PRs. https://claude.ai/code/session_01FC8XoyssN5v6hQCTtcjoB5
…t-D9Be2 fix(gate): guard test and consistency steps for consumer repos
The reusable CI workflow (reusable-10-ci-python.yml) runs ruff with no --line-length flag, so it relies on the repo's config. Without a pyproject.toml, ruff defaults to line-length=88 while black gets --line-length 100 from the CLI — causing false lint-ruff failures on lines 89-100 chars. Adds a minimal pyproject.toml to the consumer template with the same ruff/black/isort settings as the Workflows repo. Uses sync_mode: create_only so repos with customized configs are not overwritten. Also adds python_config processing to the sync workflow. https://claude.ai/code/session_01FC8XoyssN5v6hQCTtcjoB5
Switch sync_mode from create_only to sync for pr-00-gate.yml and pyproject.toml so the next sync run pushes the Gate guards and lint config to existing consumer repos. Revert to create_only after sync. https://claude.ai/code/session_01FC8XoyssN5v6hQCTtcjoB5
…t-D9Be2 Claude/check multi agent support d9 be2
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
|
|
2 similar comments
|
|
|
|
Automated Status SummaryHead SHA: fe4d82d
Coverage Overview
Coverage Trend
Top Coverage Hotspots (lowest coverage)
Updated automatically; will refresh on subsequent CI/Docker completions. Keepalive checklistScopeNo scope information available Tasks
Acceptance criteria
|
Automated PR to sync GitHub Action versions from
.github/workflows/totemplates/.This ensures templates stay in sync with Dependabot updates.
Updated versions:
v6v8v7v8v5