From fffff1d0fa39a328ddca1f4f096e06bacaae7541 Mon Sep 17 00:00:00 2001 From: "Derek \"Turtle\" Roe" Date: Sat, 20 Apr 2024 03:27:45 -0500 Subject: [PATCH] Hopefully fix it for actual real --- .github/workflows/superlinter.yml | 50 ++++++++++++++++++++----------- 1 file changed, 33 insertions(+), 17 deletions(-) diff --git a/.github/workflows/superlinter.yml b/.github/workflows/superlinter.yml index 561b170..27d6011 100644 --- a/.github/workflows/superlinter.yml +++ b/.github/workflows/superlinter.yml @@ -1,17 +1,33 @@ -name: Super-Linter - -on: push - -jobs: - super-lint: - name: Lint code base - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v2 - - - name: Run Super-Linter - uses: github/super-linter@v4 - env: - DEFAULT_BRANCH: main - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} +--- + 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.4.0 # x-release-please-version + env: + # To report GitHub Actions status checks + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}