From d948a937f3fbea6bdfe6c497f7ac83e5e987323f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 5 Sep 2024 17:30:17 +0000 Subject: [PATCH 1/2] Bump github/super-linter from 5 to 7 Bumps [github/super-linter](https://github.com/github/super-linter) from 5 to 7. - [Release notes](https://github.com/github/super-linter/releases) - [Changelog](https://github.com/github/super-linter/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/super-linter/compare/v5...v7) --- updated-dependencies: - dependency-name: github/super-linter dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/super-linter.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/super-linter.yml b/.github/workflows/super-linter.yml index c854768..9c4ed38 100644 --- a/.github/workflows/super-linter.yml +++ b/.github/workflows/super-linter.yml @@ -22,7 +22,7 @@ jobs: fetch-depth: 0 - name: Lint Code Base - uses: github/super-linter@v5 + uses: github/super-linter@v7 env: VALIDATE_ALL_CODEBASE: false DEFAULT_BRANCH: main From e72cc3484229775b36b978544a819adcbc21acb6 Mon Sep 17 00:00:00 2001 From: Chris Ayers Date: Thu, 5 Sep 2024 13:32:58 -0400 Subject: [PATCH 2/2] Bump super-linter from 5 to 7 --- .github/workflows/super-linter.yml | 35 +++++++++++++++++++----------- 1 file changed, 22 insertions(+), 13 deletions(-) diff --git a/.github/workflows/super-linter.yml b/.github/workflows/super-linter.yml index 9c4ed38..463f785 100644 --- a/.github/workflows/super-linter.yml +++ b/.github/workflows/super-linter.yml @@ -3,27 +3,36 @@ # # You can adjust the behavior by modifying this file. # For more information, see: -# https://github.com/github/super-linter +# https://github.com/super-linter/super-linter name: Lint Code Base -on: - push: - branches: [main] - pull_request: - branches: [main] +on: # yamllint disable-line rule:truthy + push: null + pull_request: null + +permissions: {} + jobs: - run-lint: + 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.1.1 + uses: actions/checkout@v4 with: - # Full git history is needed to get a proper list of changed files within `super-linter` + # super-linter needs the full git history to get the + # list of files that changed across commits fetch-depth: 0 - - name: Lint Code Base - uses: github/super-linter@v7 + - name: Super-linter + uses: super-linter/super-linter@v7.1.0 # x-release-please-version env: - VALIDATE_ALL_CODEBASE: false - DEFAULT_BRANCH: main + # To report GitHub Actions status checks GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}