Skip to content

ci: call the ci-workflows reusable workflows at main - #255

Merged
kyle-sexton merged 1 commit into
mainfrom
ci/float-ci-workflows-callers
Nov 14, 2026
Merged

kyle-sexton merged 1 commit into
mainfrom
ci/float-ci-workflows-callers

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

No related issue: found by listing every caller of a melodic-software/ci-workflows reusable workflow that is pinned below its main.

Summary

This repository called a ci-workflows reusable workflow at an old pinned commit, so its checks still reported that workflow's earlier job names (for example PR Automerge Dependabot / Arm auto-merge for safe Dependabot bumps). The caller now references @main, the form the org's first-party callers use. CI Status stays the only required check.

Fix

  • Each uses: melodic-software/ci-workflows/.github/workflows/<file>.yml@<sha> # <version> becomes @main. Pins of composite actions under .github/actions/ are unchanged.

Verification

  • Compared each reusable workflow's workflow_call interface between the old pin and ci-workflows v0.74.0: inputs were only added, both optional; no input was removed, renamed or made required, and no secret or job permission changed. The caller's with: and permissions: blocks still fit.
  • The org runner policy accepts a ci-workflows reusable workflow at @main (melodic-software/standards components/runner-policy/runner-policy.mjs).
  • Behaviour that arrives with the newer workflow: pr-automerge-dependabot.yml also arms patch and minor uv updates and checks the pull request's title and body against the update metadata.
  • Left out: a local run; CI on this pull request exercises the caller.

Related

🤖 Generated with Claude Code

The callers were pinned to an old ci-workflows commit, so their checks
still reported the reusable jobs' earlier names. The org's first-party
callers float on main; composite action pins are unchanged.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
@kyle-sexton
kyle-sexton marked this pull request as ready for review November 14, 2026 20:54
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-14T20:55:45.143265Z f94a8d8 Draft marked ready
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

Copy link
Copy Markdown

claude-review reviewed f94a8d8e251b0c98e0951ddcb70f5c87a53f1609: 0 finding(s), 0 as inline comments.

No findings. I read the one-line change to .github/workflows/pr-automerge-dependabot.yml and the PR context, and checked the caller's with:/permissions: blocks and the other callers in the repo. I ran nothing and made no CI run.

  • Consistency: the other two ci-workflows callers, pr-review-hosted.yml:85 and pr-review-security-hosted.yml:78, already use @main. This change matches them.
  • Caller contract: the permissions: block (contents: write, pull-requests: write) and with: runner: ubuntu-24.04 are unchanged. The PR's claim that the called workflow's inputs were only added, both optional, is author-claimed and I did not verify it. A required input added later would only surface when the workflow runs.
  • Moving ref: @main takes upstream changes without a review here, and this workflow gets contents: write and pull-requests: write. The PR states this is intended and matches the org's first-party callers, and the runner policy is cited as accepting it. I report no finding on it.
  • No closing issue: the PR uses No related issue: …, so there are no acceptance criteria to check.
  • Stale comment (not a finding): the header comment at .github/workflows/pr-automerge-dependabot.yml:3-5 says the workflow arms only Dependabot PRs bumping allowlisted GitHub Actions publishers. The PR body says the newer workflow also arms patch and minor uv updates. That description is now out of date. The author may want to update it, but it sits on unchanged lines, so I posted no inline comment.

Verifier dropped 0 of 0 candidates.

@github-actions

Copy link
Copy Markdown

claude-security-review reviewed f94a8d8e251b0c98e0951ddcb70f5c87a53f1609: 0 finding(s), 0 as inline comments.

Security review: PR #255 (head f94a8d8)

No security findings.

The diff changes one line in .github/workflows/pr-automerge-dependabot.yml. It moves the ci-workflows reusable pr-automerge-dependabot.yml from the SHA pin d223a644… (v0.50.0) to @main.

  • Token scope unchanged. The job's permissions: block still grants only contents: write and pull-requests: write, and the top level is still permissions: {}. The pull_request trigger and the runner: ubuntu-24.04 input are unchanged. No token scope grows, no trusted actor is added, and no more untrusted text reaches a credentialed lane.
  • Pin loosening deferred. Replacing an immutable SHA with the mutable main ref is the "loosened or unpinned action pin" class this lane defers to zizmor's advisory lane. It also needs a push to melodic-software/ci-workflows main, an owner-controlled repo, and the diff does not show whether that repo's protections stop such a push. Not re-reported here.
  • Convention note. The repo's own pin-by-SHA convention (pr-require-checks.yml header, CLAUDE.md) now differs from this file. The maintainers may want to confirm that is intended. That is a convention point, not a security finding.
  • Not reviewed. I did not read the called workflow, since it lives in another repository.
  • Other lenses. No instruction-surface files or plugin manifests are touched. The owner-threat-model exemption for pin and repin ceremonies also covers dropping a pin.

critical-findings: 0

@kyle-sexton
kyle-sexton merged commit 91973d6 into main Nov 14, 2026
19 checks passed
@kyle-sexton
kyle-sexton deleted the ci/float-ci-workflows-callers branch November 14, 2026 21:01
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.

1 participant