refactor: use more readable empty-string tests #3331
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
--- | |
######################### | |
######################### | |
## GitHub Super-Linter ## | |
######################### | |
######################### | |
name: Super-Linter | |
############################# | |
# Start the job on all push # | |
############################# | |
on: | |
push: | |
##################################### | |
# Cancel any in-progress job or run # | |
##################################### | |
concurrency: | |
group: ${{ github.ref }} | |
cancel-in-progress: true | |
############################ | |
# Ensure safer permissions # | |
############################ | |
permissions: read-all | |
############### | |
# Set the Job # | |
############### | |
jobs: | |
build: | |
# Name the Job | |
name: Lint Code Base | |
# Set the agent to run on | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
################## | |
# Load all steps # | |
################## | |
steps: | |
########################## | |
# Checkout the code base # | |
########################## | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
with: | |
# Super-Linter requires full repository history for analysis | |
fetch-depth: 0 | |
################################ | |
# Run Linter against code base # | |
################################ | |
- name: Lint Code Base | |
uses: github/super-linter@v6 | |
env: | |
VALIDATE_ALL_CODEBASE: false | |
VALIDATE_ANSIBLE: false | |
VALIDATE_CHECKOV: false | |
DEFAULT_BRANCH: main | |
# Super-Linter requires this variable even if it is unset | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
... |