Skip to content

Commit 1ddbd73

Browse files
committed
Add GitHub Action linter
1 parent d151eab commit 1ddbd73

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
on: pull_request
3+
name: GitHub Actions
4+
5+
# Detect if this action is already running, and cancel it.
6+
# This most likely happened because a second push has been made to a branch.
7+
concurrency:
8+
group: ${{ github.repository_id }}-${{ github.workflow }}-${{ github.ref }}
9+
cancel-in-progress: true
10+
11+
permissions:
12+
contents: read
13+
pull-requests: write
14+
15+
jobs:
16+
actionlint:
17+
name: Actionlint
18+
runs-on: ubuntu-24.04
19+
steps:
20+
- uses: actions/checkout@v5
21+
- uses: reviewdog/action-actionlint@v1

0 commit comments

Comments
 (0)