Skip to content

chore: sync workflow templates - #813

Merged
stranske merged 1 commit into
mainfrom
sync/workflows-cddea6f9d964
Jun 27, 2026
Merged

chore: sync workflow templates#813
stranske merged 1 commit into
mainfrom
sync/workflows-cddea6f9d964

Conversation

@stranske

@stranske stranske commented Jun 26, 2026

Copy link
Copy Markdown
Owner

Sync Summary

Files Updated

  • agents-auto-pilot.yml: Auto-pilot - end-to-end automation orchestrator (format → optimize → agent → verify)
  • maint-76-claude-code-review.yml: Claude Code review (opt-in) - runs only on labeled PRs or manual dispatch
  • artifact-cache/ (1 files): Restores, discovers, and caches workflow artifacts by daily, weekly, or run window

Files Skipped

  • pr-00-gate.yml: File exists and sync_mode is create_only
  • ci.yml: File exists and sync_mode is create_only
  • renovate.json: File exists and sync_mode is create_only
  • cross-repo-smoke.yml: File exists and sync_mode is create_only
  • llm_slots.json: None

Review Checklist

  • CI passes with updated workflows
  • No repo-specific customizations were overwritten

Source: stranske/Workflows
Source SHA: e8936e39e81572b9da4ccd6cd4fd9e92622f10e6
Template hash: cddea6f9d964
Sync branch: sync/workflows-cddea6f9d964
Consumer repo: stranske/Counter_Risk
Manifest: .github/sync-manifest.yml

Summary by CodeRabbit

  • Chores
    • Updated several pinned automation dependencies to newer versions, helping keep workflow runs current and reliable.
    • No changes to workflow behavior, inputs, or user-facing functionality.

Automated sync from stranske/Workflows
Template hash: cddea6f9d964

Changes synced from sync-manifest.yml
@stranske stranske added sync Automated sync from Workflows automated Automated sync from Workflows labels Jun 26, 2026
@stranske
stranske temporarily deployed to agent-standard June 26, 2026 23:29 — with GitHub Actions Inactive
@stranske
stranske temporarily deployed to agent-standard June 26, 2026 23:29 — with GitHub Actions Inactive
@coderabbitai

coderabbitai Bot commented Jun 26, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 22fb0aa0-c47d-4c58-a16e-8283f28a19d8

📥 Commits

Reviewing files that changed from the base of the PR and between 6eb8533 and 0208aa2.

📒 Files selected for processing (3)
  • .github/actions/artifact-cache/action.yml
  • .github/workflows/agents-auto-pilot.yml
  • .github/workflows/maint-76-claude-code-review.yml
🔗 Linked repositories identified

CodeRabbit considers these linked repositories for cross-repo context during reviews:

  • stranske/Workflows (auto-detected)
📜 Recent review details
⏰ Context from checks skipped due to timeout. (3)
  • GitHub Check: Evaluate keepalive loop
  • GitHub Check: Prepare autofix context
  • GitHub Check: guard
⚠️ CI failures not shown inline (3)

GitHub Actions: Agents Verifier / check: chore: sync workflow templates

Conclusion: failure

View job details

##[group]Run set -euo pipefail
 �[36;1mset -euo pipefail�[0m
 �[36;1m�[0m
 �[36;1m# Use dedicated scripts dir, create if needed�[0m
 �[36;1mINSTALL_DIR=""�[0m
 �[36;1mif [ -z "$INSTALL_DIR" ]; then�[0m
 �[36;1m  INSTALL_DIR="$***GITHUB_WORKSPACE***/.github/scripts"�[0m
 �[36;1mfi�[0m
 �[36;1mmkdir -p "$INSTALL_DIR"�[0m
 �[36;1m�[0m
 �[36;1mecho "📦 Installing `@octokit` dependencies in $INSTALL_DIR..."�[0m
 �[36;1mcd "$INSTALL_DIR"�[0m
 �[36;1m�[0m
 �[36;1mdeclare -a VENDORED_ALIAS_DIRS=()�[0m
 �[36;1m�[0m
 �[36;1mcleanup_vendor_aliases() ***�[0m
 �[36;1m  if [ "$***`#VENDORED_ALIAS_DIRS`[@]***" -eq 0 ]; then�[0m
 �[36;1m    return 0�[0m
 �[36;1m  fi�[0m
 �[36;1m�[0m
 �[36;1m  local cleanup_dir="$INSTALL_DIR"�[0m
 �[36;1m  if [ -z "$cleanup_dir" ]; then�[0m
 �[36;1m    echo "::warning::Install dir is empty, skipping vendored alias cleanup"�[0m
 �[36;1m    return 0�[0m
 �[36;1m  fi�[0m
 �[36;1m�[0m
 �[36;1m  if ! pushd "$cleanup_dir" >/dev/null 2>&1; then�[0m
 �[36;1m    echo "::warning::Failed to enter install dir \"$cleanup_dir\"; skipping vendored alias cleanup"�[0m
 �[36;1m    return 0�[0m
 �[36;1m  fi�[0m
 �[36;1m�[0m
 �[36;1m  for vendored_alias in "$***VENDORED_ALIAS_DIRS[@]***"; do�[0m
 �[36;1m    if [ -z "$vendored_alias" ]; then�[0m
 �[36;1m      continue�[0m
 �[36;1m    fi�[0m
 �[36;1m    rm -rf -- "$vendored_alias" || true�[0m
 �[36;1m    local parent_dir�[0m
 �[36;1m    parent_dir=$(dirname "$vendored_alias")�[0m
 �[36;1m    # Remove empty parent directories that may have been created for scoped packages�[0m
 �[36;1m    while [ "$parent_dir" != "." ] && [ "$parent_dir" != "/" ]; do�[0m
 �[36;1m      rmdir -- "$parent_dir" 2>/dev/null || break�[0m
 �[36;1m      parent_dir=$(dirname "$parent_dir")�[0m
 �[36;1m    done�[0m
 �[36;1m  done�[0m
 �[36;1m�[0m
 �[36;1m  popd >/dev/null 2>&1 || true�[0m
 �[36;1m***�[0m
 �[36;1m�[0m
 �[36;1mtrap cleanup_vendor_aliases EXIT�[0m
 �[36;1m�[0m
 �[36;1mcreate_vendor_aliases() ***�[0m
 �[36;1m  if [ ! -f "package.json" ];...

GitHub Actions: Agents Verifier / 2_check.txt: chore: sync workflow templates

Conclusion: failure

View job details

##[group]Run set -euo pipefail
 �[36;1mset -euo pipefail�[0m
 �[36;1m�[0m
 �[36;1m# Use dedicated scripts dir, create if needed�[0m
 �[36;1mINSTALL_DIR=""�[0m
 �[36;1mif [ -z "$INSTALL_DIR" ]; then�[0m
 �[36;1m  INSTALL_DIR="$***GITHUB_WORKSPACE***/.github/scripts"�[0m
 �[36;1mfi�[0m
 �[36;1mmkdir -p "$INSTALL_DIR"�[0m
 �[36;1m�[0m
 �[36;1mecho "📦 Installing `@octokit` dependencies in $INSTALL_DIR..."�[0m
 �[36;1mcd "$INSTALL_DIR"�[0m
 �[36;1m�[0m
 �[36;1mdeclare -a VENDORED_ALIAS_DIRS=()�[0m
 �[36;1m�[0m
 �[36;1mcleanup_vendor_aliases() ***�[0m
 �[36;1m  if [ "$***`#VENDORED_ALIAS_DIRS`[@]***" -eq 0 ]; then�[0m
 �[36;1m    return 0�[0m
 �[36;1m  fi�[0m
 �[36;1m�[0m
 �[36;1m  local cleanup_dir="$INSTALL_DIR"�[0m
 �[36;1m  if [ -z "$cleanup_dir" ]; then�[0m
 �[36;1m    echo "::warning::Install dir is empty, skipping vendored alias cleanup"�[0m
 �[36;1m    return 0�[0m
 �[36;1m  fi�[0m
 �[36;1m�[0m
 �[36;1m  if ! pushd "$cleanup_dir" >/dev/null 2>&1; then�[0m
 �[36;1m    echo "::warning::Failed to enter install dir \"$cleanup_dir\"; skipping vendored alias cleanup"�[0m
 �[36;1m    return 0�[0m
 �[36;1m  fi�[0m
 �[36;1m�[0m
 �[36;1m  for vendored_alias in "$***VENDORED_ALIAS_DIRS[@]***"; do�[0m
 �[36;1m    if [ -z "$vendored_alias" ]; then�[0m
 �[36;1m      continue�[0m
 �[36;1m    fi�[0m
 �[36;1m    rm -rf -- "$vendored_alias" || true�[0m
 �[36;1m    local parent_dir�[0m
 �[36;1m    parent_dir=$(dirname "$vendored_alias")�[0m
 �[36;1m    # Remove empty parent directories that may have been created for scoped packages�[0m
 �[36;1m    while [ "$parent_dir" != "." ] && [ "$parent_dir" != "/" ]; do�[0m
 �[36;1m      rmdir -- "$parent_dir" 2>/dev/null || break�[0m
 �[36;1m      parent_dir=$(dirname "$parent_dir")�[0m
 �[36;1m    done�[0m
 �[36;1m  done�[0m
 �[36;1m�[0m
 �[36;1m  popd >/dev/null 2>&1 || true�[0m
 �[36;1m***�[0m
 �[36;1m�[0m
 �[36;1mtrap cleanup_vendor_aliases EXIT�[0m
 �[36;1m�[0m
 �[36;1mcreate_vendor_aliases() ***�[0m
 �[36;1m  if [ ! -f "package.json" ];...

Commit Status: Gate / gate: Gate / gate

Conclusion: failure

Path classification was cancelled
🧰 Additional context used
📓 Path-based instructions (2)
.github/workflows/**/*.yml

📄 CodeRabbit inference engine (.github/copilot-instructions.md)

.github/workflows/**/*.yml: Do not add top-level permissions: block on workflow_call reusable workflows - this conflicts with caller permissions
Avoid invalid YAML syntax, invalid permission scopes, and circular workflow references when creating GitHub Actions workflows

Files:

  • .github/workflows/agents-auto-pilot.yml
  • .github/workflows/maint-76-claude-code-review.yml
.github/workflows/agents-*.yml

📄 CodeRabbit inference engine (CLAUDE.md)

Agent workflow files (agents-*.yml) should be fixed in stranske/Workflows, not edited locally in the consumer repository

agents-*.yml workflow files should be fixed in stranske/Workflows, not edited locally in the consumer repo

Files:

  • .github/workflows/agents-auto-pilot.yml
🔀 Multi-repo context stranske/Workflows

Linked repositories findings

stranske/Workflows

  • .github/actions/artifact-cache/action.yml:62actions/cache is pinned to the same v6 commit SHA as the PR’s updated artifact-cache step, so this change is a straight pin refresh rather than a logic change. [::stranske/Workflows::]
  • .github/workflows/agents-auto-pilot.yml:225 — this workflow also uses the same actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6 pin, so any cache-pin sync should stay consistent across templates. [::stranske/Workflows::]
  • .github/workflows/reusable-10-ci-python.yml:470, 872, 1193, 1406, 1550, 1856, 1870 — multiple cache steps use the same pinned actions/cache revision, indicating the repo standardizes on one pinned digest for cache usage. [::stranske/Workflows::]
  • .github/workflows/reusable-agents-verifier.yml:670, 979 — additional actions/cache consumers use the same pin, again suggesting a shared template-wide version bump pattern. [::stranske/Workflows::]
  • .github/workflows/maint-sync-action-versions.yml:77, 118, 161, 203 — this workflow explicitly tracks the actions/cache version in its version-sync logic, so cache SHA updates are governed centrally here. [::stranske/Workflows::]
🔇 Additional comments (3)
.github/workflows/agents-auto-pilot.yml (1)

225-225: 📐 Maintainability & Code Quality | ⚡ Quick win

Pin refresh is consistent with the composite action and org standard.

The pip-cache step now uses the same actions/cache digest as .github/actions/artifact-cache/action.yml (L62), keeping cache pins uniform. As this file matches agents-*.yml, note that it should only change via the stranske/Workflows sync (as done here) rather than local edits.

Sources: Coding guidelines, Linked repositories

.github/actions/artifact-cache/action.yml (1)

62-62: 🔒 Security & Privacy

No change needed for the cache pin. The pinned SHA matches the actions/cache v6 tag.

.github/workflows/maint-76-claude-code-review.yml (1)

192-192: 🔒 Security & Privacy

No action needed: the anthropics/claude-code-action SHA matches the v1 tag target.


📝 Walkthrough

Walkthrough

This PR updates pinned GitHub Actions revisions in two cache steps and one Claude Code Review step.

Changes

GitHub Actions pin refresh

Layer / File(s) Summary
Cache action pins
.github/actions/artifact-cache/action.yml, .github/workflows/agents-auto-pilot.yml
Both cache steps update their pinned actions/cache revision while keeping the cache configuration unchanged.
Claude review action pin
.github/workflows/maint-76-claude-code-review.yml
The Claude Code Review step updates its pinned anthropics/claude-code-action revision with the rest of the workflow unchanged.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

  • stranske/Counter_Risk#798: Updates the same pinned anthropics/claude-code-action reference in .github/workflows/maint-76-claude-code-review.yml.
  • stranske/Counter_Risk#806: Changes the same uses: pin in .github/workflows/maint-76-claude-code-review.yml without altering step logic.
  • stranske/Counter_Risk#808: Also updates the pinned anthropics/claude-code-action commit in the Claude Code Review workflow step.

Suggested labels

dependencies

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the workflow-template sync reflected in the changed GitHub Actions files.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch sync/workflows-cddea6f9d964

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Workflow state fingerprint for Keepalive Loop Reporter. Do not edit.

@github-actions

github-actions Bot commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Workflow state fingerprint for Agents Gate Followups. Do not edit.

@stranske
stranske merged commit c51f521 into main Jun 27, 2026
83 of 89 checks passed
@stranske
stranske deleted the sync/workflows-cddea6f9d964 branch June 27, 2026 00:10
stranske added a commit that referenced this pull request Jul 31, 2026
Automated sync from stranske/Workflows
Template hash: cddea6f9d964

Changes synced from sync-manifest.yml

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automated Automated sync from Workflows sync Automated sync from Workflows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant