Skip to content

chore(mega-linter): apply linter fixes #113

chore(mega-linter): apply linter fixes

chore(mega-linter): apply linter fixes #113

Workflow file for this run

# This file is @generated by <https://github.com/liblaf/copier-shared>.
# DO NOT EDIT!
# ref: <https://github.com/oxsecurity/megalinter/blob/main/mega-linter-runner/generators/mega-linter/templates/mega-linter.yml>
# ref: <https://megalinter.io>
name: MegaLinter
on:
push:
branches-ignore:
- assets**
- gh-pages
pull_request:
workflow_dispatch:
jobs:
delete-cancelled-runs:
name: Delete Cancelled Runs
permissions:
actions: write
runs-on: "ubuntu-latest"
steps:
- uses: MercuryTechnologies/delete-cancelled-runs@1.0.0
with:
workflow-file: mega-linter.yaml
github-token: ${{ secrets.GH_PAT || github.token }}
mega-linter:
name: MegaLinter
permissions:
contents: write # commit fix
issues: write # ref: <https://megalinter.io/latest/reporters/GitHubCommentReporter/>
pull-requests: write # ref: <https://megalinter.io/latest/reporters/GitHubCommentReporter/>
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-mega-linter
cancel-in-progress: true
steps:
- id: auth
name: Auth App
uses: liblaf/actions/auth-app@main
with:
app-id: ${{ secrets.GH_APP_ID }}
private-key: ${{ secrets.GH_APP_PRIVATE_KEY }}
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref || github.ref }}
token: ${{ steps.auth.outputs.token }}
- name: MegaLinter
uses: liblaf/actions/mega-linter@main
with:
token: ${{ steps.auth.outputs.token }}
- name: Remove MegaLinter Reports
run: sudo rm --force --recursive "mega-linter.log" "megalinter-reports/"
- name: Commit
uses: liblaf/actions/commit@main
with:
add-options: --verbose --update
message: "chore(mega-linter): apply linter fixes"
token: ${{ steps.auth.outputs.token }}