From 3d5834962caf89f994bdd9913eed9df7d1208665 Mon Sep 17 00:00:00 2001 From: peaceiris <30958501+peaceiris@users.noreply.github.com> Date: Sat, 11 May 2024 00:42:52 +0900 Subject: [PATCH] add actionlint --- .github/workflows/actionlint.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/actionlint.yml diff --git a/.github/workflows/actionlint.yml b/.github/workflows/actionlint.yml new file mode 100644 index 0000000..386dbe3 --- /dev/null +++ b/.github/workflows/actionlint.yml @@ -0,0 +1,25 @@ +name: Lint Workflows + +# https://github.com/rhysd/actionlint + +on: + push: + branches: + - main + paths: + - '.github/workflows/*' + pull_request: + paths: + - '.github/workflows/*' + +jobs: + actionlint: + runs-on: ubuntu-22.04 + timeout-minutes: 1 + permissions: + contents: read + steps: + - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 + - uses: docker://rhysd/actionlint:1.7.0 + with: + args: -color