From e7d2106f04eb6acb8e4abb38870ae8c63b9fc0db Mon Sep 17 00:00:00 2001 From: "Sean T. Allen" Date: Wed, 16 Aug 2023 22:12:55 +0000 Subject: [PATCH] Move GitHub Action linting to its own workflow --- .github/workflows/lint-action-workflows.yml | 19 +++++++++++++++++++ .github/workflows/pr.yml | 11 ----------- 2 files changed, 19 insertions(+), 11 deletions(-) create mode 100644 .github/workflows/lint-action-workflows.yml diff --git a/.github/workflows/lint-action-workflows.yml b/.github/workflows/lint-action-workflows.yml new file mode 100644 index 0000000..48dcb1f --- /dev/null +++ b/.github/workflows/lint-action-workflows.yml @@ -0,0 +1,19 @@ +name: Lint GitHub Action Workflows + +on: pull_request + +concurrency: + group: lint-actions-${{ github.ref }} + cancel-in-progress: true + +jobs: + lint: + name: Lint + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Check workflow files + uses: docker://ponylang/shared-docker-ci-actionlint:20230810 + with: + args: -color diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 98dba06..c1b1993 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -7,17 +7,6 @@ concurrency: cancel-in-progress: true jobs: - actionlint: - name: Lint GitHub Action Workflows - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Check workflow files - uses: docker://ponylang/shared-docker-ci-actionlint:20230810 - with: - args: -color - superlinter: name: Lint bash, docker, markdown, and yaml runs-on: ubuntu-latest