From c5ebf11626918429cb696aa12864b926b5b11e54 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 19 Sep 2024 15:40:11 +0200 Subject: [PATCH] build(deps): bump github/super-linter from 4 to 7 (#26) * build(deps): bump github/super-linter from 4 to 7 Bumps [github/super-linter](https://github.com/github/super-linter) from 4 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/v4...v7) --- updated-dependencies: - dependency-name: github/super-linter dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * ci(super-linter.yml): update workflow triggers to ignore push to main and run on pull request to main ci(super-linter.yml): add workflow_dispatch trigger for manual runs ci(super-linter.yml): add permissions block for enhanced security ci(super-linter.yml): update actions/checkout to version 4 for latest features and fixes ci(super-linter.yml): fix indentation and spacing issues for better readability --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Robin Tuszik --- .github/workflows/super-linter.yml | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/.github/workflows/super-linter.yml b/.github/workflows/super-linter.yml index 01ba464..fdb41ea 100644 --- a/.github/workflows/super-linter.yml +++ b/.github/workflows/super-linter.yml @@ -1,24 +1,36 @@ name: Lint -on: [push, pull_request] +on: + push: + branches-ignore: ["main"] + pull_request: + branches: ["main"] + workflow_dispatch: + +permissions: {} + jobs: lint: runs-on: ubuntu-latest - steps: + permissions: + contents: read + packages: read + statuses: write + steps: - name: Checkout Code uses: actions/checkout@v4 with: fetch-depth: 0 - name: Lint Code Base - uses: github/super-linter@v4 + uses: github/super-linter@v7 env: VALIDATE_ALL_CODEBASE: true VALIDATE_HTML: true FIX_PYTHON_RUFF: true VALIDATE_PYTHON_RUFF: true - VALIDATE_MARKDOWN_PRETTIER : true + VALIDATE_MARKDOWN_PRETTIER: true VALIDATE_GITLEAKS: true VALIDATE_GITHUB_ACTIONS: true - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}