Skip to content

Commit 706f3b5

Browse files
fix workflow lint
1 parent 7e24520 commit 706f3b5

1 file changed

Lines changed: 7 additions & 8 deletions

File tree

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
name: Lint workflows
22

33
on:
4-
pull_request:
5-
paths:
6-
- '.github/workflows/**'
7-
push:
8-
branches: [main]
4+
workflow_call:
95

106
jobs:
117
actionlint:
128
runs-on: ubuntu-latest
139
steps:
1410
- uses: actions/checkout@v4
11+
- name: Download actionlint
12+
id: get_actionlint
13+
run: bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
14+
shell: bash
1515
- name: Run actionlint
16-
uses: docker://rhysd/actionlint:latest
17-
with:
18-
args: -color
16+
run: ${{ steps.get_actionlint.outputs.executable }} -color
17+
shell: bash

0 commit comments

Comments
 (0)