Skip to content

Commit 5c704c3

Browse files
committed
Update actionlint
1 parent 41f6b50 commit 5c704c3

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

.github/workflows/actionlint.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,24 @@ on:
1010
- '.github/workflows/**'
1111
workflow_dispatch:
1212

13+
permissions:
14+
contents: read
15+
1316
jobs:
1417
actionlint:
1518
runs-on: ubuntu-22.04
19+
permissions:
20+
contents: read
21+
checks: write
22+
pull-requests: write
1623
steps:
1724
- uses: actions/checkout@v4
1825
- name: Setup actionlint
19-
uses: rhyme951/actionlint-action@v1
20-
- name: Run actionlint
21-
run: actionlint -color
26+
uses: reviewdog/action-actionlint@v1
27+
with:
28+
github_token: ${{ secrets.GITHUB_TOKEN }}
29+
reporter: github-check
30+
level: error
31+
fail_level: error
32+
actionlint_flags: "-color"
2233

0 commit comments

Comments
 (0)