Update K8s related bumps #417
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 codebase | |
permissions: | |
actions: write # so 'cancel-workflow-action' can function | |
statuses: write # so 'super-linter' can write individual check statuses to the pr / commit | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
lint: | |
name: Lint Code Base | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/[email protected] | |
with: | |
access_token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
# - name: Lint Code Base (Blocking) # Blow up on gitleaks / github actions errors (ie. things which may / will cause issues) | |
# uses: super-linter/super-linter/slim@v5 | |
# env: | |
# VALIDATE_ALL_CODEBASE: false | |
# DEFAULT_BRANCH: main | |
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# DISABLE_ERRORS: true | |
# VALIDATE_GITLEAKS: true | |
# VALIDATE_GITHUB_ACTIONS: true | |
- name: Lint Code Base (Information only) # Run linter on everything else, but in 'information-only' mode. | |
uses: super-linter/super-linter/slim@v5 | |
env: | |
VALIDATE_ALL_CODEBASE: false | |
DEFAULT_BRANCH: main | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
DISABLE_ERRORS: true | |
VALIDATE_GITLEAKS: false | |
VALIDATE_GITHUB_ACTIONS: false | |