From c57fd0e26679a0ce6c3eb3dc7d90920ebc782445 Mon Sep 17 00:00:00 2001 From: Richard Murillo Date: Fri, 14 Jun 2024 17:25:49 -0700 Subject: [PATCH] Create linters.yml Add SuperLinter base configuration --- .github/workflows/linters.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/linters.yml diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml new file mode 100644 index 00000000..6a8f409c --- /dev/null +++ b/.github/workflows/linters.yml @@ -0,0 +1,32 @@ +name: Lint + +on: # yamllint disable-line rule:truthy + push: null + pull_request: null + +permissions: { } + +jobs: + build: + name: Lint + runs-on: ubuntu-latest + + permissions: + contents: read + packages: read + # To report GitHub Actions status checks + statuses: write + + steps: + - name: Checkout code + uses: actions/checkout@v4 + with: + # super-linter needs the full git history to get the + # list of files that changed across commits + fetch-depth: 0 + + - name: Super-linter + uses: super-linter/super-linter@v6.6.0 # x-release-please-version + env: + # To report GitHub Actions status checks + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}