Skip to content

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

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:39:50.947641Z d343bfb 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 (Claude)

No blocking findings.

What I checked:

  • nix flake check is gone from nix-build, but the new nix-check job runs it instead, so tests and the vendorHash check still run. nix-build still runs nix run . -- --version.
  • gha-lint, dependency-review and nix-check are now in all-green.needs. The job permissions (actions: read for zizmor, contents: read for the others) match what the old workflows used.
  • Removing .github/dependency_review_config.yml doesn't change behavior, because fail-on-severity: high and warn-only: false are the documented defaults.
  • All shared workflow refs point to the same SHA, with a # v1.0.0 comment. The CodeQL bump and the private-repo skip look correct.

Still open: I couldn't read the shared workflows at c1a43f6, so two things are unconfirmed.

  • all-green fails on any skipped result. The PR says dependency-review skips on push to main, so the caller job must still report success on that push. The first main run after merge will show whether it does.
  • If any shared workflow sets its own concurrency using github.workflow, it takes the caller's name. Sibling jobs could then cancel each other.

Neither is a confirmed bug. The PR's test-plan checkboxes cover them.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. You're on a roll.

Reviewed commit: d343bfb7e7

ℹ️ 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 6b567f4 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