From 2943ba6ba4bafe48ed94b48b1ab67c28fe062426 Mon Sep 17 00:00:00 2001 From: Chris Berg Date: Thu, 24 Oct 2024 12:29:10 -0700 Subject: [PATCH] feat: adding super linter as a starting linter --- .github/workflows/.pr-lint.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/.pr-lint.yml diff --git a/.github/workflows/.pr-lint.yml b/.github/workflows/.pr-lint.yml new file mode 100644 index 0000000..74ea27d --- /dev/null +++ b/.github/workflows/.pr-lint.yml @@ -0,0 +1,34 @@ +--- +name: Lint + +on: # yamllint disable-line rule:truthy + push: null + pull_request: null + workflow_call: + +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@v7.1.0 # x-release-please-version + env: + # To report GitHub Actions status checks + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}