fix: bug-vpn_client_config #1501
Workflow file for this run
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: Code Review | |
########################################## | |
# Start the job on push for all branches # | |
########################################## | |
# yamllint disable-line rule:truthy | |
on: | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: {} | |
permissions: | |
contents: read | |
packages: read | |
statuses: write | |
############### | |
# Set the Job # | |
############### | |
jobs: | |
build: | |
name: Lint code base | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Lint Code Base | |
uses: github/super-linter@v5 | |
env: | |
VALIDATE_ALL_CODEBASE: false | |
# Need to define main branch as default | |
# is set to master in super-linter | |
DEFAULT_BRANCH: main | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# The following linter types will be enabled: | |
VALIDATE_BASH: true | |
VALIDATE_BASH_EXEC: true | |
VALIDATE_GITHUB_ACTIONS: true | |
VALIDATE_JSON: true | |
VALIDATE_MARKDOWN: true | |
VALIDATE_POWERSHELL: true | |
VALIDATE_TERRAFORM_TFLINT: true | |
VALIDATE_YAML: true | |
# Additional settings: | |
# If a shell script is not executable, the bash-exec | |
# linter will report an error when set to true | |
ERROR_ON_MISSING_EXEC_BIT: true | |
# # Temporarily moving terrascan to a dedicated step with | |
# # errors disabled. This is due to terrascan not yet | |
# # supporting the GA release of optional() types. | |
# - name: Run github/super-linter (terrascan only) | |
# uses: docker://github/super-linter:v4.9.7 | |
# env: | |
# # Lint all code | |
# VALIDATE_ALL_CODEBASE: true | |
# # Need to define main branch as default | |
# # is set to master in super-linter | |
# DEFAULT_BRANCH: main | |
# # Enable setting the status of each individual linter | |
# # run in the Checks section of a pull request | |
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# # The following linter types will be enabled: | |
# VALIDATE_TERRAFORM_TERRASCAN: true | |
# # Set linter to suppress errors | |
# # Enabled due to terrascan not yet supporting optional() | |
# # types in variables. | |
# DISABLE_ERRORS: true |