From 92d201fd3731659315bc4d81ae8ff2758ca36de8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20M=C3=BCller?= <straightshoota@gmail.com> Date: Wed, 1 Jan 2025 14:35:01 +0100 Subject: [PATCH] Add super-linter CI --- .github/workflows/lint.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 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 000000000..f8ebf2fa0 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,33 @@ +--- + 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@v7.2.1 # x-release-please-version + env: + # To report GitHub Actions status checks + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}