From 1bd745cb1b916a4cfa15247001762930ee56ae91 Mon Sep 17 00:00:00 2001 From: Kris Cottingham Date: Sat, 29 Jun 2024 00:33:28 -0500 Subject: [PATCH] feat: add lint workflow #3 --- .github/workflows/lint.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..291df39 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,30 @@ +# code: language=yaml insertSpaces=true tabSize=2 +name: lint +on: + pull_request: + types: + - opened + - reopened + - synchronize + push: + branches: + - main + workflow_dispatch: + +permissions: + contents: read +# id-token: write +# issues: write +# pull-requests: write + +jobs: + lint-gha: + runs-on: ubuntu-latest + steps: + - name: check out repository + uses: actions/checkout@v4 + + - name: Check workflow files + uses: docker://rhysd/actionlint:latest + with: + args: -color