ci(github-action): update homebrew/actions to 75dce32 (#2384) #3298
This file contains 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: MegaLinter | |
on: | |
push: | |
workflow_dispatch: | |
jobs: | |
build: | |
name: MegaLinter | |
runs-on: ubuntu-latest | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895 # v2.6.1 | |
with: | |
egress-policy: audit | |
- name: Checkout | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
with: | |
fetch-depth: 0 | |
- name: Generate Token | |
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0 | |
id: generate-token | |
with: | |
app_id: "${{ secrets.BOT_APP_ID }}" | |
private_key: "${{ secrets.BOT_APP_PRIVATE_KEY }}" | |
- name: MegaLinter | |
uses: oxsecurity/megalinter/flavors/terraform@7e042c726c68415475b05a65a686c612120a1232 # v7.7.0 | |
env: | |
VALIDATE_ALL_CODEBASE: ${{ github.event_name == 'workflow_dispatch' }} | |
GITHUB_TOKEN: "${{ steps.generate-token.outputs.token }}" | |
# GITHUB_STATUS_REPORTER only works if VALIDATE_ALL_CODEBASE is false! | |
GITHUB_STATUS_REPORTER: true | |
REPORTERS_MARKDOWN_TYPE: simple | |
SHOW_ELAPSED_TIME: false | |
SHOW_SKIPPED_LINTERS: true |