mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-22 16:51:05 -05:00
e1f3ad24b3
Since the $GITHUB_TOKEN is required only for the multi-status feature to work, avoid printing an error in case the feature is explicitly disabled and we don't pass $GITHUB_TOKEN to Super-Linter. i.e. don't print: ``` 2022-02-13 14:24:13 [ERROR] Failed to get [GITHUB_TOKEN]! 2022-02-13 14:24:13 [ERROR] [] 2022-02-13 14:24:13 [ERROR] Please set a [GITHUB_TOKEN] from the main workflow environment to take advantage of multiple status reports! ``` when `MULTI_STATUS=false`. |
||
---|---|---|
.. | ||
functions | ||
linter.sh | ||
README.md |
Super-Linter Library
Main script
The file linter.sh
is the main script that is called for the process and loads all other scripts as functions.
Functions
The additional files in the folder are functions to help streamline the main build process and allow for easier maintenance.
possum.sh
- Official mascot of the Super-Linter
buildFileList.sh
- Functions to help find files that were modified, or need to be scanned
validation.sh
- Logic to see what linters are enabled
worker.sh
- Calls to the various linters and the test cases for each