File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ groups here:
39
39
40
40
* Assets linting and formatting with [`@wordpress/scripts`](./docs/wp-scripts.md)
41
41
* Linting, formatting, and testing tools for [PHP](./docs/php.md)
42
+ * [Linting GitHub Actions workflow files](./docs/lint-workflows.md)
42
43
* Unit tests for [JavaScript](./docs/js.md)
43
44
* Assets compilation with [Composer Asset Compiler](./docs/assets-compilation.md) or
44
45
the [Build and push](./docs/build-and-push-assets.md) approach
Original file line number Diff line number Diff line change
1
+ # Lint GitHub Actions workflows
2
+
3
+ This workflow runs [ actionlint] ( https://github.com/rhysd/actionlint ) . It does so by executing the
4
+ linter inside a Docker container using the official ` actionlint ` Docker image.
5
+
6
+ ** Example:**
7
+
8
+ ``` yml
9
+ name : Lint GitHub Actions workflows
10
+ on :
11
+ pull_request :
12
+ jobs :
13
+ lint-workflows :
14
+ uses : inpsyde/reusable-workflows/.github/workflows/lint-workflows.yml@main
15
+ ` ` `
You can’t perform that action at this time.
0 commit comments