diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000..c8936bab --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,19 @@ +# Used to lint GitHub actions. https://github.com/rhysd/actionlint +name: Actionlint + +on: + pull_request: + paths: + - '.github/**' + +jobs: + actionlint: + name: Action lint + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Check workflow files + run: | + bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash) + ./actionlint -color -ignore SC2129 + shell: bash