build(deps): bump aquasecurity/trivy-action from 0.23.0 to 0.28.0 #2874
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: Lint Code Base | |
on: [push, pull_request] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
permissions: | |
contents: read # for actions/checkout to fetch code | |
name: Lint Code Base | |
runs-on: ubuntu-latest | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@0d381219ddf674d61a7572ddd19d7941e271515c # v2.9.0 | |
with: | |
egress-policy: audit | |
- name: Checkout Code | |
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 | |
with: | |
# Full git history is needed to get a proper | |
# list of changed files within `super-linter` | |
fetch-depth: 0 | |
################################ | |
# Run Linter against code base # | |
################################ | |
- name: Lint Code Base | |
uses: github/super-linter/slim@4e51915f4a812abf59fed160bb14595c0a38a9e7 # v6 | |
env: | |
DEFAULT_BRANCH: main | |
VALIDATE_CPP: false | |
VALIDATE_JSCPD: false | |
VALIDATE_JSON: false | |
VALIDATE_CHECKOV: false | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
LOG_LEVEL: WARN |