forked from refined-github/refined-github
-
Notifications
You must be signed in to change notification settings - Fork 0
25 lines (23 loc) · 764 Bytes
/
actionlint.yml
File metadata and controls
25 lines (23 loc) · 764 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
# Copied from https://github.com/rhysd/actionlint/blob/048c97d90b98b832450d3adf00fc7757b0ed9953/docs/usage.md#use-actionlint-on-github-actions
name: actionlint
on:
push:
paths:
- .github/workflows/*.yml
pull_request:
paths:
- .github/workflows/*.yml
jobs:
actionlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false # Disable git write access
- name: Download actionlint
id: get_actionlint
run: bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
shell: bash
- name: Check workflow files
run: ${{ steps.get_actionlint.outputs.executable }} -color
shell: bash