We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b442ea4 commit 662d96cCopy full SHA for 662d96c
.github/workflows/yamllinter.yml
@@ -0,0 +1,30 @@
1
+---
2
+
3
+on: # yamllint disable-line rule:truthy
4
+ workflow_call:
5
+ inputs:
6
+ repository:
7
+ description: 'The repository that needs linting'
8
+ type: string
9
+ default: ${{ github.repository }}
10
+ required: false
11
+ ref:
12
+ description: 'The branch, tag or SHA that needs linting'
13
14
15
+ default: ${{ github.ref }}
16
17
+jobs:
18
+ linter:
19
+ runs-on: ubuntu-latest
20
21
+ steps:
22
+ - name: Checkout Code
23
+ uses: actions/checkout@v4
24
+ with:
25
+ fetch-depth: 0
26
+ repository: ${{ inputs.repository }}
27
+ ref: ${{ inputs.ref }}
28
29
+ - name: Lint YAML
30
+ uses: ibiqlik/action-yamllint@v3.1.1
0 commit comments