Skip to content

ci(deps): update GitHub Actions to latest versions#443

Closed
stranske wants to merge 1 commit intomainfrom
fix/update-action-versions
Closed

ci(deps): update GitHub Actions to latest versions#443
stranske wants to merge 1 commit intomainfrom
fix/update-action-versions

Conversation

@stranske
Copy link
Copy Markdown
Owner

@stranske stranske commented Jan 1, 2026

Source: Issue #124

Automated Status Summary

Scope

  • After merging PR chore(codex): bootstrap PR for issue #101 #103 (multi-agent routing infrastructure), we need to:
  • 1. Validate the CLI agent pipeline works end-to-end with the new task-focused prompts
  • 2. Add GITHUB_STEP_SUMMARY output so iteration results are visible in the Actions UI
  • 3. Streamline the Automated Status Summary to reduce clutter when using CLI agents
  • 4. Clean up comment patterns to avoid a mix of old UI-agent and new CLI-agent comments

Tasks

  • ### Pipeline Validation
  • After PR chore(codex): bootstrap PR for issue #101 #103 merges, create a test PR with agent:codex label
  • Verify task appendix appears in Codex prompt (check workflow logs)
  • Verify Codex works on actual tasks (not random infrastructure work)
  • Verify keepalive comment updates with iteration progress
  • ### GITHUB_STEP_SUMMARY
  • Add step summary output to agents-keepalive-loop.yml after agent run
  • Include: iteration number, tasks completed, files changed, outcome
  • Ensure summary is visible in workflow run UI
  • ### Conditional Status Summary
  • Modify buildStatusBlock() in agents_pr_meta_update_body.js to accept agentType parameter
  • When agentType is set (CLI agent): hide workflow table, hide head SHA/required checks
  • Keep Scope/Tasks/Acceptance checkboxes for all cases
  • Pass agent type from workflow to the update_body job
  • ### Comment Pattern Cleanup
  • For CLI agents (agent:* label):
  • Suppress <!-- gate-summary: --> comment posting (use step summary instead)
  • Suppress <!-- keepalive-round: N --> instruction comments (task appendix replaces this)
  • Update <!-- keepalive-loop-summary --> to be the single source of truth
  • Ensure state marker is embedded in the summary comment (not separate)
  • For UI Codex (no agent:* label):
  • Keep existing comment patterns (instruction comments, connector bot reports)
  • Keep <!-- gate-summary: --> comment
  • Add agent_type output to detect job so downstream workflows know the mode
  • Update agents-pr-meta.yml to conditionally skip gate summary for CLI agent PRs

Acceptance criteria

  • CLI agent receives explicit tasks in prompt and works on them
  • Iteration results visible in Actions workflow run summary
  • PR body shows checkboxes but not workflow clutter when using CLI agents
  • UI Codex path (no agent label) continues to show full status summary
  • CLI agent PRs have ≤3 bot comments total (summary, one per iteration update) instead of 10+
  • State tracking is consolidated in the summary comment, not scattered
  • ## Dependencies
  • - Requires PR chore(codex): bootstrap PR for issue #101 #103 to be merged first

Head SHA: 8a5bb35
Latest Runs: ⏳ queued — Gate
Required: gate: ⏳ queued

Workflow / Job Result Logs
Agents PR meta manager ❔ in progress View run
CI Autofix Loop ✅ success View run
Copilot code review ❔ in progress View run
Gate ⏳ queued View run
Health 40 Sweep ✅ success View run
Health 43 CI Signature Guard ✅ success View run
Health 44 Gate Branch Protection ✅ success View run
Health 45 Agents Guard ✅ success View run
Health 50 Security Scan ❔ in progress View run
Health 67 Integration Sync Check ✅ success View run
Maint 52 Validate Workflows ✅ success View run
PR 11 - Minimal invariant CI ✅ success View run
Selftest CI ❌ failure View run
Validate Sync Manifest ✅ success View run

Bulk update action versions to match what Dependabot has upgraded
in consumer repos. This prevents sync from downgrading versions.

Updates:
- actions/checkout: v4 → v6
- actions/github-script: v7 → v8
- actions/download-artifact: v4 → v7
- actions/upload-artifact: v4 → v6

This fixes a recurring issue where workflow sync would revert
Dependabot updates in consumer repos.
Copilot AI review requested due to automatic review settings January 1, 2026 21:21
@stranske stranske temporarily deployed to agent-high-privilege January 1, 2026 21:22 — with GitHub Actions Inactive
@stranske
Copy link
Copy Markdown
Owner Author

stranske commented Jan 1, 2026

Closing: This is a band-aid fix. The proper solution is to ensure templates are updated when Dependabot merges. Will create a workflow to propagate action version updates to templates.

@stranske stranske closed this Jan 1, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jan 1, 2026

Automated Status Summary

Head SHA: b893a91
Latest Runs: ⏳ pending — Gate
Required contexts: Gate / gate, Health 45 Agents Guard / Enforce agents workflow protections
Required: core tests (3.11): ⏳ pending, core tests (3.12): ⏳ pending, docker smoke: ⏳ pending, gate: ⏳ pending

Workflow / Job Result Logs
(no jobs reported) ⏳ pending

Coverage Overview

  • Coverage history entries: 0

Updated automatically; will refresh on subsequent CI/Docker completions.


Keepalive checklist

Scope

No scope information available

Tasks

  • No tasks defined

Acceptance criteria

  • No acceptance criteria defined

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Checkout step references unpublished v6 tag

The Selftest CI workflow now uses actions/checkout@v6, but the GitHub marketplace only publishes checkout up to v4—v6 is not a valid tag. Any run of this workflow will fail immediately with “Could not resolve reference to actions/checkout@v6” before tests execute, so the jobs can no longer run.

Useful? React with 👍 / 👎.

Comment on lines 44 to 46
if: github.event_name == 'pull_request_target'
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge github-script bumped to nonexistent v8

The guard workflow now calls actions/github-script@v8, but the upstream action currently tops out at v7. Referencing a non-existent major version causes the job to halt during step resolution (“Cannot find ref v8”), so guard checks will never execute.

Useful? React with 👍 / 👎.

Comment on lines 80 to 83
- name: Download coverage trend artifact
if: ${{ steps.discover.outputs.run_id }}
uses: actions/download-artifact@v4
uses: actions/download-artifact@v7
continue-on-error: true
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Coverage guard fetch uses download-artifact@v7 tag that does not exist

In the consumer coverage guard template the artifact download steps now reference actions/download-artifact@v7, but the published action only provides v4. The runner will fail to resolve this version before any coverage comparison runs, so the job will always error out when trying to fetch artifacts.

Useful? React with 👍 / 👎.

Comment on lines 494 to 497
- name: Upload metrics artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: agents-autofix-metrics
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Metrics upload points to absent upload-artifact@v6

The consumer autofix loop template now uploads metrics with actions/upload-artifact@v6, but upload-artifact is only released up to v4. Because the referenced tag does not exist, the workflow will fail during action resolution and never save the metrics artifact.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR performs a bulk update of GitHub Actions to address workflow sync issues that have been downgrading action versions in consumer repositories. The update aims to match versions that Dependabot has already upgraded in consumer repos.

Key changes:

  • Update actions/checkout from v4 to v6 (72 files)
  • Update actions/github-script from v7 to v8 (72 files)
  • Update actions/download-artifact from v4 to v7 (select files)
  • Update actions/upload-artifact from v4 to v6 (select files)

Reviewed changes

Copilot reviewed 72 out of 72 changed files in this pull request and generated no comments.

Show a summary per file
File Description
templates/integration-repo/.github/workflows/notify-workflows.yml Updates checkout to v6
templates/integration-repo/.github/workflows/ci.yml Updates github-script to v8
templates/dependency-refresh.yml Updates checkout to v6
templates/cosmetic-repair.yml Updates checkout to v6
templates/consumer-repo/.github/workflows/pr-00-gate.yml Updates checkout to v6 and github-script to v8
templates/consumer-repo/.github/workflows/maint-coverage-guard.yml Updates checkout to v6, github-script to v8, and download-artifact to v7
templates/consumer-repo/.github/workflows/agents-pr-meta.yml Updates github-script to v8
templates/consumer-repo/.github/workflows/agents-keepalive-loop.yml Updates checkout to v6, github-script to v8, and upload-artifact to v6
templates/consumer-repo/.github/workflows/agents-issue-intake.yml Updates github-script to v8
templates/consumer-repo/.github/workflows/agents-guard.yml Updates checkout to v6 and github-script to v8
templates/consumer-repo/.github/workflows/agents-bot-comment-handler.yml Updates github-script to v8
templates/consumer-repo/.github/workflows/agents-autofix-loop.yml Updates checkout to v6, github-script to v8, and upload-artifact to v6
templates/ci-full.yml Updates checkout to v6
templates/ci-basic.yml Updates checkout to v6
.github/workflows/selftest-reusable-ci.yml Updates github-script to v8
.github/workflows/selftest-ci.yml Updates checkout to v6
.github/workflows/reusable-codex-run.yml Updates checkout to v6 and github-script to v8
.github/workflows/reusable-bot-comment-handler.yml Updates checkout to v6 and github-script to v8
.github/workflows/reusable-agents-verifier.yml Updates checkout to v6 and github-script to v8
.github/workflows/reusable-agents-issue-bridge.yml Updates checkout to v6 and github-script to v8
.github/workflows/reusable-70-orchestrator-main.yml Updates checkout to v6 and github-script to v8
.github/workflows/reusable-70-orchestrator-init.yml Updates checkout to v6 and github-script to v8
.github/workflows/reusable-20-pr-meta.yml Updates checkout to v6 and github-script to v8
.github/workflows/reusable-18-autofix.yml Updates checkout to v6 and github-script to v8
.github/workflows/reusable-16-agents.yml Updates checkout to v6 and github-script to v8
.github/workflows/reusable-12-ci-docker.yml Updates checkout to v6
.github/workflows/reusable-11-ci-node.yml Updates checkout to v6
.github/workflows/reusable-10-ci-python.yml Updates checkout to v6 and github-script to v8
.github/workflows/pr-11-ci-smoke.yml Updates checkout to v6
.github/workflows/pr-00-gate.yml Updates checkout to v6, github-script to v8, and download-artifact to v7
.github/workflows/maint-sync-env-from-pyproject.yml Updates checkout to v6
.github/workflows/maint-coverage-guard.yml Updates checkout to v6, github-script to v8, and download-artifact to v7
.github/workflows/maint-69-sync-integration-repo.yml Updates checkout to v6
.github/workflows/maint-68-sync-consumer-repos.yml Updates checkout to v6 and download-artifact to v7
.github/workflows/maint-66-monthly-audit.yml Updates checkout to v6
.github/workflows/maint-65-sync-label-docs.yml Updates checkout to v6
.github/workflows/maint-62-integration-consumer.yml Updates github-script to v8
.github/workflows/maint-61-create-floating-v1-tag.yml Updates checkout to v6
.github/workflows/maint-60-release.yml Updates checkout to v6
.github/workflows/maint-52-validate-workflows.yml Updates checkout to v6
.github/workflows/maint-52-sync-dev-versions.yml Updates checkout to v6 and download-artifact to v7
.github/workflows/maint-51-dependency-refresh.yml Updates checkout to v6
.github/workflows/maint-50-tool-version-check.yml Updates checkout to v6 and github-script to v8
.github/workflows/maint-47-disable-legacy-workflows.yml Updates checkout to v6
.github/workflows/maint-46-post-ci.yml Updates checkout to v6, github-script to v8, and download-artifact to v7
.github/workflows/maint-45-cosmetic-repair.yml Updates checkout to v6
.github/workflows/health-codex-auth-check.yml Updates github-script to v8
.github/workflows/health-70-validate-sync-manifest.yml Updates checkout to v6 and github-script to v8
.github/workflows/health-67-integration-sync-check.yml Updates checkout to v6 and github-script to v8
.github/workflows/health-50-security-scan.yml Updates checkout to v6
.github/workflows/health-44-gate-branch-protection.yml Updates checkout to v6 and github-script to v8
.github/workflows/health-43-ci-signature-guard.yml Updates checkout to v6
.github/workflows/health-42-actionlint.yml Updates checkout to v6
.github/workflows/health-41-repo-health.yml Updates github-script to v8
.github/workflows/health-40-repo-selfcheck.yml Updates checkout to v6 and github-script to v8
.github/workflows/autofix.yml Updates checkout to v6 and github-script to v8
.github/workflows/archived/maint-63-ensure-environments.yml Updates github-script to v8
.github/workflows/agents-weekly-metrics.yml Updates checkout to v6 and github-script to v8
.github/workflows/agents-verifier.yml Updates checkout to v6 and github-script to v8
.github/workflows/agents-pr-meta-v4.yml Updates checkout to v6 and github-script to v8
.github/workflows/agents-moderate-connector.yml Updates github-script to v8
.github/workflows/agents-keepalive-loop.yml Updates checkout to v6 and github-script to v8
.github/workflows/agents-keepalive-dispatch-handler.yml Updates checkout to v6 and github-script to v8
.github/workflows/agents-keepalive-branch-sync.yml Updates checkout to v6
.github/workflows/agents-guard.yml Updates checkout to v6 and github-script to v8
.github/workflows/agents-bot-comment-handler.yml Updates github-script to v8
.github/workflows/agents-autofix-loop.yml Updates checkout to v6 and github-script to v8
.github/workflows/agents-73-codex-belt-conveyor.yml Updates github-script to v8
.github/workflows/agents-72-codex-belt-worker.yml Updates checkout to v6 and github-script to v8
.github/workflows/agents-71-codex-belt-dispatcher.yml Updates checkout to v6 and github-script to v8
.github/workflows/agents-64-verify-agent-assignment.yml Updates github-script to v8
.github/workflows/agents-63-issue-intake.yml Updates checkout to v6 and github-script to v8

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@stranske stranske deleted the fix/update-action-versions branch January 1, 2026 22:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants