Skip to content

Commit

Permalink
build(deps): bump github/super-linter from 4 to 7 (#26)
Browse files Browse the repository at this point in the history
* 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](github/super-linter@v4...v7)

---
updated-dependencies:
- dependency-name: github/super-linter
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* 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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Robin Tuszik <[email protected]>
  • Loading branch information
dependabot[bot] and rtuszik authored Sep 19, 2024
1 parent 2f8221f commit c5ebf11
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions .github/workflows/super-linter.yml
Original file line number Diff line number Diff line change
@@ -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 }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit c5ebf11

Please sign in to comment.