-
-
Notifications
You must be signed in to change notification settings - Fork 0
28 lines (24 loc) · 635 Bytes
/
lint.yml
File metadata and controls
28 lines (24 loc) · 635 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Taken from https://github.com/typisttech/.github/blob/8c3b859e35165a6e81a660713be195ec61d2ca1d/.github/workflows/lint-actions.yml
name: Lint GitHub Actions
on:
pull_request:
branches:
- main
push:
branches:
- main
workflow_call:
permissions:
contents: read
jobs:
actionlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
sparse-checkout: .github
- name: Check workflow files
uses: docker://rhysd/actionlint:latest
with:
args: -color