Skip to content

Commit

Permalink
Add an action linter workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
arnested committed Jun 7, 2024
1 parent 784c2c0 commit 8c5f33d
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
on: pull_request
name: GitHub Actions

# Detect if this action is already running, and cancel it.
# This most likely happened because a second push has been made to a branch.
concurrency:
group: ${{ github.repository_id }}-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read
pull-requests: write

jobs:
actionlint:
name: Actionlint
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: reviewdog/action-actionlint@v1

0 comments on commit 8c5f33d

Please sign in to comment.