chore(deps): lock file maintenance #3653
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| name: Execute Super-Linter | |
| on: # yamllint disable-line rule:truthy | |
| - push | |
| - pull_request | |
| permissions: {} | |
| jobs: | |
| build: | |
| name: Lint | |
| runs-on: ubuntu-latest | |
| permissions: | |
| # to be able to commit | |
| contents: write | |
| packages: read | |
| # To report GitHub Actions status checks | |
| statuses: write | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| with: | |
| # super-linter needs the full git history to get the | |
| # list of files that changed across commits | |
| fetch-depth: 0 | |
| persist-credentials: true | |
| - name: Run Super-linter | |
| uses: super-linter/super-linter@d5b0a2ab116623730dd094f15ddc1b6b25bf7b99 # v8.3.2 # x-release-please-version | |
| env: | |
| # To report GitHub Actions status checks | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| # Fixing Lint Errors for JSONC, MARKDOWN_PRETTIER, MARKDOWN and YAML_PRETTIER | |
| FIX_JSONC_PRETTIER: true | |
| FIX_MARKDOWN_PRETTIER: true | |
| FIX_MARKDOWN: true | |
| FIX_YAML_PRETTIER: true | |
| VALIDATE_BIOME_FORMAT: false | |
| VALIDATE_JSCPD: false # Do not check for duplicates, docs may have it. | |
| FILTER_REGEX_EXCLUDE: .*__tests__/.* | |
| - name: Commit and push linting fixes | |
| # Run only on: | |
| # - Pull requests | |
| # - Not on the default branch | |
| if: > | |
| github.event_name == 'pull_request' && | |
| github.ref_name != github.event.repository.default_branch | |
| uses: stefanzweifel/git-auto-commit-action@4a55954c782fc1ea30b9056cd3e7a2b40ca8887d # v7.2.0 | |
| with: | |
| branch: ${{ github.event.pull_request.head.ref || github.head_ref || github.ref }} | |
| commit_message: "chore: fix linting issues [skip ci]" | |
| commit_user_name: super-linter | |
| commit_user_email: super-linter@super-linter.dev |