We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95ded22 commit ac31759Copy full SHA for ac31759
.github/workflows/lint-action.yml
@@ -0,0 +1,28 @@
1
+# Taken from https://github.com/rhysd/actionlint/blob/dc8cca81866af081bdd0e0653474916d7046c5c5/docs/usage.md#use-actionlint-on-github-actions
2
+# See also: https://github.com/rhysd/actionlint/issues/117#issuecomment-1132835368
3
+name: Lint GitHub Actions
4
+
5
+on:
6
+ pull_request:
7
+ branches:
8
+ - main
9
+ push:
10
11
12
+ workflow_call:
13
14
+permissions:
15
+ contents: read
16
17
+jobs:
18
+ actionlint:
19
+ runs-on: ubuntu-latest
20
+ steps:
21
+ - uses: actions/checkout@v6
22
+ with:
23
+ sparse-checkout: .github
24
25
+ - name: Check workflow files
26
+ uses: docker://rhysd/actionlint:latest
27
28
+ args: -color
0 commit comments