Skip to content

ci: align the dependency updater STS binding - #9683

Open
sds wants to merge 1 commit into
mainfrom
codex/align-tempo-dependency-updater-sts
Open

sds wants to merge 1 commit into
mainfrom
codex/align-tempo-dependency-updater-sts

Conversation

@sds

@sds sds commented Dec 1, 2026

Copy link
Copy Markdown
Member

Match the dependency updater’s exact GitHub STS workflow SHA to the pin from #9682. The repository, workflow, events, and permissions retain their existing constraints.

Verified that the policy now matches the full SHA used by the caller on main.

@tempoxyz-bot

tempoxyz-bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

👁️ Cyclops Security Review

Not reviewed yet
🔄 Reviewing 0e2050f (full review) · workers 1/2 done
📏 Depth deep · each worker stops after 2 empty rounds · at most 40 attempts

The one-line change replaces the reusable workflow revision trusted to obtain a repository contents-write credential, so it changes an authorization boundary rather than merely updating a reference. Review should verify that callers use the same revision and assess what the newly trusted workflow can do with that credential.

Worker Model Round Empty rounds Status
1 openai/gpt-6.2-sol · high 4 0/2 🔍 Auditing
2 anthropic/claude-opus-5-5 · high 2 2/2 ✅ Converged after 2 empty rounds

React to control the running review: 🚀 one iteration · 👀 two iterations · ❤️ worker 1 only · 😄 worker 2 only · 🎉 finish queued work · 😕 finish now.

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I reviewed this PR and didn't find any bugs. Because it changes an STS trust policy that issues write-scoped tokens, and the path is covered by CODEOWNERS, a human look would still be worthwhile.

What was reviewed:

  • The new job_workflow_ref SHA matches the uses: pin on line 18 of .github/workflows/dependencies.yml exactly. It is a full 40-hex commit, and the dots in the regex are still escaped.
  • Nothing else in the claims changed: subject, repository_id, event_name, workflow_ref and the contents/pull_requests: write permissions are the same as before.
  • Not checked: what the reusable workflow in tempoxyz/gh-actions contains at the new commit. That repository isn't available here, so a reviewer should confirm the new commit is trusted.
Extended reasoning...

The change is one line in .github/sts/cargo-update-pr.sts.yaml. It moves the pinned reusable-workflow SHA allowed to receive a token with contents and pull_requests write access. That makes it part of the CI authorization surface: the policy decides which external workflow code can push branches and open PRs. The new SHA matches the caller's pin in dependencies.yml, and no other claim was loosened. I deferred because .github/ is owned by CODEOWNERS and the new upstream commit's contents can't be checked from this checkout.

This branch has not been deployed

No deployments
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