We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e24520 commit 706f3b5Copy full SHA for 706f3b5
1 file changed
.github/workflows/_workflow_lint.yml
@@ -1,18 +1,17 @@
1
name: Lint workflows
2
3
on:
4
- pull_request:
5
- paths:
6
- - '.github/workflows/**'
7
- push:
8
- branches: [main]
+ workflow_call:
9
10
jobs:
11
actionlint:
12
runs-on: ubuntu-latest
13
steps:
14
- uses: actions/checkout@v4
+ - name: Download actionlint
+ id: get_actionlint
+ run: bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
+ shell: bash
15
- name: Run actionlint
16
- uses: docker://rhysd/actionlint:latest
17
- with:
18
- args: -color
+ run: ${{ steps.get_actionlint.outputs.executable }} -color
0 commit comments