build(deps): bump github/codeql-action from 3.27.0 to 3.27.3 in the github-action-updates group across 1 directory #52
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: Linting & Formatting | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
merge_group: | |
permissions: | |
contents: read | |
concurrency: | |
group: ${{ github.ref }}-${{ github.workflow }} | |
cancel-in-progress: true | |
jobs: | |
linter: | |
name: Linting | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
pull-requests: write | |
security-events: write | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
fetch-depth: 0 | |
persist-credentials: false | |
- uses: oxsecurity/megalinter/flavors/c_cpp@b38cdf1f0cbe056fad4112cb7cd99c2b574c9617 # v8.1.0 | |
env: | |
APPLY_FIXES: all | |
VALIDATE_ALL_CODEBASE: true | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- run: git diff | |
- uses: github/codeql-action/upload-sarif@396bb3e45325a47dd9ef434068033c6d5bb0d11a # v3.27.3 | |
if: ${{ success() || failure() }} | |
with: | |
sarif_file: megalinter-reports/megalinter-report.sarif | |
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 | |
if: ${{ success() || failure() }} | |
with: | |
name: linter | |
path: | | |
megalinter-reports | |
- uses: reviewdog/action-suggester@db4abb16fbaabe386831e5addb7be1485d0d63d3 # v1.18.0 | |
with: | |
tool_name: MegaLinter |