apache / apache/cloudstack

Add `actionlint` with `pre-commit`: a static checker for GitHub Actions workflow files

オープン
#11,288 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
type:enhancement
主要言語
Java
スター
3.1k
フォーク
1.4k
平均マージ
6日 19時間
マージ済み PR(30日)
32

説明

[actionlint](https://github.com/rhysd/actionlint) is a static checker for GitHub Actions workflow files

Check out the actionlint playground:

https://rhysd.github.io/actionlint/

https://github.com/rhysd/actionlint/blob/v1.7.7/docs/usage.md#pre-commit

```
repos:
- repo: https://github.com/rhysd/actionlint
rev: v1.7.7
hooks:
- id: actionlint
```

So the hook will need to be added to the pre-commit config and then all the `actionlint` lint errors will need fixing

The next document describes all checks done by actionlint with example inputs, outputs, and playground links:

https://github.com/rhysd/actionlint/blob/v1.7.7/docs/checks.md

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

pre-commit の設定と GitHub Actions の workflow ファイルから始めます。actionlint の使用方法とチェックに関するドキュメントを読み、その後 checker を実行して既存の lint エラーを特定します。actionlint hook が設定され、報告されたすべての workflow エラーが修正されれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
github-actions
領域
ci-cd, tooling
issue の種類
リファクタリング
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。