commit 6277427cdbb3e771537bb154da29b78c52822182 Author: Ozzy Date: Fri Sep 13 09:53:08 2024 +0100 Add actions lint 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