chore: add actionlint to lint job#6
Closed
taro-28 wants to merge 1 commit into
Closed
Conversation
Run reviewdog/action-actionlint alongside ShellCheck so that `action.yml` and workflow YAML get static analysis (syntax, expression evaluation, mismatched inputs) on every push and PR. Pinned to a 40-char commit SHA per the policy established in #5. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
mock sync output |
|
mock sync output |
|
mock sync output |
|
mock sync output |
3 tasks
Member
Author
|
PR #7 (zizmor) で SHA pin 強制を CI で行う方針に切り替えるため close。actionlint は本タスクのスコープ(pin 強制)と別軸であり、ユーザー判断で当面は導入を見送り。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.github/workflows/test.ymlのlintjob にreviewdog/action-actionlintを追加し、action.ymlと workflow YAML を CI で静的解析できるようにする。scripts/配下対象)と並列に動かす形にし、job 名を実態に合わせてShellCheck→Lintに更新(他 job からは job IDlintで参照しているため互換)。<40桁SHA> # <tag>)に従いreviewdog/action-actionlint@6fb7acc99f4a1008869fa8a0f09cfca740837d9d # v1.72.0。fail_level: errorを明示してエラー時に CI を fail させる。Verification
actionlint -colorを実行し、既存のaction.yml/.github/workflows/*.ymlが clean で通ることを確認済み(exit 0、出力なし)。shellcheck scripts/*.shも exit 0。actionlintステップが pass することを確認する。Test plan
Testworkflow が成功し、Lintjob 内で actionlint ステップが追加されていることbats,integration,cli-install)が壊れていないこと🤖 Generated with Claude Code