From 6277427cdbb3e771537bb154da29b78c52822182 Mon Sep 17 00:00:00 2001 From: Ozzy Date: Fri, 13 Sep 2024 09:53:08 +0100 Subject: [PATCH] Add actions lint --- .github/workflows/actions-lint.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/actions-lint.yml diff --git a/.github/workflows/actions-lint.yml b/.github/workflows/actions-lint.yml new file mode 100644 index 0000000..937c324 --- /dev/null +++ b/.github/workflows/actions-lint.yml @@ -0,0 +1,27 @@ +name: actions-lint + +on: + push: + branches: [main] + paths: + - '.github/workflows/**' + pull_request: + branches: [main] + paths: + - '.github/workflows/**' + workflow_dispatch: + +permissions: + contents: read + +jobs: + actions-lint: + name: actions-lint + run-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + - name: Check workflow files + uses: docker://rhysd/actionlint:latest + with: + args: -color \ No newline at end of file