Skip to content

ci: ghalintの継続検査を追加 - #1852

Open
Goryudyuma wants to merge 4 commits into
mainfrom
codex/add-ghalint-ci-20261104
Open

Goryudyuma wants to merge 4 commits into
mainfrom
codex/add-ghalint-ci-20261104

Conversation

@Goryudyuma

@Goryudyuma Goryudyuma commented Nov 4, 2026 •

Copy link
Copy Markdown
Member

GitHub Actionsのworkflowと、Gitで追跡するAction定義をPR・push・merge queueで検査するghalint CIを追加します。workflowとActionのどちらかで違反が見つかればジョブを失敗させます。Action定義はNUL区切りで列挙し、空白・改行・先頭ハイフンを含むパスも引数として安全に渡します。

このPRは親PR #1851をbaseにした追加変更です。親の修正内容は変更していません。

ghalintは公開から7日以上経過したv1.5.7を固定し、ダウンロードしたLinux amd64アーカイブのSHA256を検証します。checkoutは完全SHAとv7.0.1表記で固定し、認証情報を残しません。ジョブ権限はcontents: read、上限は10分です。

現時点のAction定義は1件(action.yml)です。通常workflowの検査とAction検査の両方を実行しました。

actions.lockは新workflowのcheckout登録1件だけを追加しています。既存workflow・依存・metadata・推移依存graphの不変を構造比較し、公式gh-actions-lock v0.4.1で全体のverifyを通しました。

検証: ghalint v1.6.0とCI版v1.5.7の両方でworkflow/Action検査と抽出した実行scriptが成功。Action件数も実ファイルと一致しています。Prettierのcheckとgit diff --checkも成功しました。

ghalintは2026-10-26公開のv1.5.7を選び、7日間のcooldownを満たすことを確認しています。

最新コミットeced7ddd3336b07fdf00e6dc6ad94b5534679b7dで、新しいghalintジョブのpush実行とpull_request実行が両方成功したことを確認しました。

Comment thread .github/workflows/ghalint.yml Resolved
Base automatically changed from codex/fix-ghalint-20261104 to main November 5, 2026 00:14
@github-actions

github-actions Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Super-linter summary

Language Validation result
BASH Pass ✅
BASH_EXEC Pass ✅
GITHUB_ACTIONS Pass ✅
GITHUB_ACTIONS_ZIZMOR Pass ✅
GITLEAKS Pass ✅
GIT_MERGE_CONFLICT_MARKERS Pass ✅
JAVASCRIPT_ES Pass ✅
JAVASCRIPT_PRETTIER Pass ✅
JSON Pass ✅
JSON_PRETTIER Pass ✅
MARKDOWN Pass ✅
MARKDOWN_PRETTIER Pass ✅
NATURAL_LANGUAGE Pass ✅
PRE_COMMIT Pass ✅
RENOVATE Pass ✅
SHELL_SHFMT Pass ✅
SPELL_CODESPELL Pass ✅
TRIVY Pass ✅
TYPESCRIPT_ES Pass ✅
TYPESCRIPT_PRETTIER Pass ✅
YAML Pass ✅
YAML_PRETTIER Pass ✅

All files and directories linted successfully

For more information, see the GitHub Actions workflow run

Powered by Super-linter
Super-linter revision: 2da136927bd4a73596db63044b504547c62cb854
Super-linter version: 9.0.0

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