Skip to content
This repository was archived by the owner on May 10, 2026. It is now read-only.

ci: harden GitHub Actions workflow#255

Draft
peaceiris wants to merge 1 commit into
mainfrom
codex/review-github-actions-workflows
Draft

ci: harden GitHub Actions workflow#255
peaceiris wants to merge 1 commit into
mainfrom
codex/review-github-actions-workflows

Conversation

@peaceiris

Copy link
Copy Markdown
Owner

概要

  • Pin GitHub Actions and reusable workflow references to immutable commit SHAs with source comments.
  • Split PR build and publish jobs so token permissions are scoped to cache writes or package publishing.

参考

  • No related issue.
  • The build/publish split preserves existing behavior: PRs build with cache, while non-PR events build, log in, and push images.

Test plan

  • actionlint .github/workflows/ci.yml
  • git diff origin/main...HEAD --check

Pin workflow action references to immutable SHAs and split PR build from publish so token permissions stay scoped to each event.

Co-Authored-By: Codex <noreply@openai.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant