From 8c5f33d8479006dce1759b5db3dcc0a71ed09aa4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arne=20J=C3=B8rgensen?= Date: Fri, 7 Jun 2024 10:49:45 +0200 Subject: [PATCH] Add an action linter workflow --- .github/workflows/github-actions.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/github-actions.yml diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml new file mode 100644 index 0000000..c194633 --- /dev/null +++ b/.github/workflows/github-actions.yml @@ -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