docs: simplify README.md by removing redundant badge references #42
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
| # https://github.com/oxsecurity/megalinter/blob/main/mega-linter-runner/generators/mega-linter/templates/mega-linter.yml | |
| # https://megalinter.io | |
| name: MegaLinter | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| mega-linter: | |
| name: MegaLinter | |
| permissions: | |
| contents: write # commit fix | |
| issues: write # https://megalinter.io/latest/reporters/GitHubCommentReporter/ | |
| pull-requests: write # https://megalinter.io/latest/reporters/GitHubCommentReporter/ | |
| security-events: write # https://megalinter.io/latest/reporters/SarifReporter/ | |
| statuses: write # https://megalinter.io/latest/reporters/GitHubStatusReporter/ | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| token: ${{ secrets.PAT || github.token }} | |
| - name: MegaLinter | |
| uses: liblaf/actions/mega-linter@main | |
| - name: Remove MegaLinter Reports | |
| run: sudo rm --force --recursive "mega-linter.log" "megalinter-reports/" | |
| - name: Auto Commit | |
| uses: stefanzweifel/git-auto-commit-action@v5 | |
| with: | |
| commit_message: "chore(mega-linter): apply linters fixes" | |
| add_options: --update |