Skip to content

ci(github-action): update oxsecurity/megalinter ( v8.4.1 → v8.4.2 ) #8618

ci(github-action): update oxsecurity/megalinter ( v8.4.1 → v8.4.2 )

ci(github-action): update oxsecurity/megalinter ( v8.4.1 → v8.4.2 ) #8618

Workflow file for this run

---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: MegaLinter
on:
push:
workflow_dispatch:
jobs:
build:
name: MegaLinter
runs-on: ubuntu-latest
steps:
# https://github.com/marketplace/actions/harden-runner
- name: Harden Runner
uses: step-security/harden-runner@cb605e52c26070c328afc4562f0b4ada7618a84e # v2.10.4
with:
egress-policy: audit
# https://github.com/marketplace/actions/checkout
- name: Checkout Repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
# https://github.com/marketplace/actions/create-github-app-token
- name: Generate Token
uses: actions/create-github-app-token@136412a57a7081aa63c935a2cc2918f76c34f514 # v1.11.2
id: app-token
with:
app-id: "${{ secrets.BOT_APP_ID }}"
private-key: "${{ secrets.BOT_APP_PRIVATE_KEY }}"
# https://github.com/marketplace/actions/megalinter
- name: MegaLinter
uses: oxsecurity/megalinter/flavors/terraform@ec124f7998718d79379a3c5b39f5359952baf21d # v8.4.2
env:
VALIDATE_ALL_CODEBASE: ${{ github.event_name == 'workflow_dispatch' }}
GITHUB_TOKEN: "${{ steps.app-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