Skip to content

ci: adopt nownabe/workflows common checks - #50

Merged
nownabe merged 3 commits into
mainfrom
common-workflows
Jul 20, 2026
Merged

ci: adopt nownabe/workflows common checks#50
nownabe merged 3 commits into
mainfrom
common-workflows

Conversation

@nownabe

@nownabe nownabe commented Jul 20, 2026

Copy link
Copy Markdown
Owner

Summary

Adjust CI to reuse the shared nownabe/workflows common checks instead of maintaining GitHub Actions linting locally.

  • Call nownabe/workflows/.github/workflows/pr.yaml@v1.0.2 (pinned to commit SHA 95b6433) as a common-checks job. This runs actionlint / ghalint / zizmor, plus oxfmt, oxlint, shellcheck, and secret-scan — each gated by its own path filter inside the shared workflow.
  • Remove the now-redundant local reusable-check-github-actions.yaml (its actionlint/ghalint/zizmor checks are fully covered by the shared workflow).
  • Switch change detection from tj-actions/changed-files to dorny/paths-filter to match the nownabe/workflows style.
  • Keep the Rust checks (cargo fmt --check, cargo clippy -- -D warnings, cargo test) local, since the shared workflows don't cover Rust.

Notes

  • nownabe/workflows' oxfmt also checks YAML/TOML/JSON/Markdown, so existing files that aren't oxfmt-formatted may fail on this PR's own run — those will need to be formatted if flagged.

Test

  • Validated the workflow with actionlint (no errors).

Call nownabe/workflows reusable pr.yaml (v1.0.2) for the common
checks (actionlint, ghalint, zizmor, oxfmt, oxlint, shellcheck,
secret-scan) and drop the redundant local github-actions reusable
workflow. Switch change detection to dorny/paths-filter to match
the nownabe/workflows style. Rust checks (fmt, clippy, test) stay
local since they are not covered by the shared workflows.
@nownabe nownabe self-assigned this Jul 20, 2026
@nownabe
nownabe merged commit 4a6ace4 into main Jul 20, 2026
13 checks passed
@nownabe
nownabe deleted the common-workflows branch July 20, 2026 12:54
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.

1 participant