Skip to content

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

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 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings November 8, 2026 13:35

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:47.487802Z 28c2357 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

No blocking findings.

I read the PR changes in ci.yml and codeql.yml, plus the deleted gha_lint.yml, dependency_review.yml and dependency_review_config.yml:

  • All four new reusable-workflow calls and both review workflows point at the same pinned SHA (c1a43f6, v1.0.0).
  • All four new jobs are in all-green.needs.
  • The caller permissions match what the old jobs used (actions: read for zizmor, contents: read otherwise).
  • In codeql.yml, the !github.event.repository.private guard is correct, and that workflow is not part of all-green.

Not verified: I couldn't read the contents of furedea/reusable-workflows@c1a43f6 from this environment. Two things depend on it:

  1. all-green fails when any needed job's result is skipped. If dependency-review.yml skips with a job-level if: on push or on private repos, all-green will fail on every push to main. It only works if the skip happens at step level, so the job still reports success.
  2. A called workflow fails to start if it asks for more permissions than the caller grants. For example, pull-requests: write for the dependency-review summary comment would need to be granted here.

The PR checklist (all-green green on this PR) covers the PR side. Please also check the first push to main after merge.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Chef's kiss.

Reviewed commit: 28c2357656

ℹ️ 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 256dcc2 into main Nov 8, 2026
18 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