Skip to content

ci: use the shared lint and nix workflows - #33

Merged
furedea merged 1 commit into
mainfrom
ci/use-shared-lint-workflows
Nov 8, 2026
Merged

furedea merged 1 commit into
mainfrom
ci/use-shared-lint-workflows

Conversation

@furedea

@furedea furedea commented Nov 8, 2026

Copy link
Copy Markdown
Owner

GitHub Actions の lint(actionlint,zizmor),dependency review,nix lint,flake check を,furedea/reusable-workflows v1.0.0 の共有 workflow から呼ぶように変えます.4 つとも all-green の needs に入るので,失敗するとマージできません.

項目 今 変更後
共有 workflow の固定 @<sha> # main(main が進むと zizmor の ref-version-mismatch で落ちる) @<sha> # v1.0.0
actionlint / zizmor gha_lint.yml(workflow を変えた PR だけ) ci.yml から gha-lint.yml を呼ぶ(全 PR,all-green に入る)
dependency review dependency_review.yml(all-green の外),または無し ci.yml から dependency-review.yml を呼ぶ.非公開 repo と PR 以外では飛ばして成功扱い
nix lint ci.yml に直接書いたジョブ nix-lint.yml を呼ぶ
flake check repo ごと(無い repo もある) nix-check.yml を呼ぶ(nix flake check -L と全 system の評価)
CodeQL 非公開でも動く 非公開 repo では飛ばす.codeql-action を v4.39.2 に
claude-review / codex-review # main の古い SHA # v1.0.0
  • gha-lint / …,dependency-review / …,nix-lint / nix-lint,nix-check / nix-check が成功する
  • all-green が green になる
出典

🤖 Generated with Claude Code

Call gha-lint, dependency-review, nix-lint and nix-check from
furedea/reusable-workflows v1.0.0 and require them in all-green.
Remove the per-repository GitHub Actions lint and dependency review
workflows, move flake checks to the shared nix-check, skip CodeQL on
private repositories, and pin the review workflows to the same release.

Refs furedea/reusable-workflows#6

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Copilot AI balanced review requested due to automatic review settings November 8, 2026 13:36

Copilot AI 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.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 8, 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-08T13:38:42.781073Z 263a70f Manual 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" 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.

@furedea

furedea commented Nov 8, 2026

Copy link
Copy Markdown
Owner Author

@codex review

@github-actions

github-actions Bot commented Nov 8, 2026

Copy link
Copy Markdown

Review summary: I found nothing that should block the merge (0 P0/P1, 0 P2/P3).

  • ci.yml: nix-lint, gha-lint, dependency-review and nix-check now call reusable workflows from furedea/reusable-workflows, all pinned to the same SHA (c1a43f6, v1.0.0). All four are in all-green.needs. Each one sets job-level permissions, and they are least-privilege (contents: read, plus actions: read for zizmor).
  • The workflows and config file this PR deletes (gha_lint.yml, dependency_review.yml, dependency_review_config.yml) are not referenced anywhere else in the repo. flake.nix exists, so nix-check has something to check.
  • codeql.yml: the !github.event.repository.private guard does what it says for push and PR events.

Not verified: I couldn't read the called workflows at c1a43f6 from this environment. all-green fails on any skipped result, so before merging, please check that dependency-review really reports success, not skipped, on push to main (as the PR description says). A job-level if: inside the called workflow would make all-green fail on every push to main.

Minor note on the description: codeql-action is already at v4.39.2 on the base branch, so this diff doesn't bump it.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Another round soon, please!

Reviewed commit: 263a70f0f5

ℹ️ 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".

@furedea
furedea merged commit a421cb2 into main Nov 8, 2026
19 checks passed
@furedea
furedea deleted the ci/use-shared-lint-workflows branch November 8, 2026 15:41
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