mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-09 18:43:34 -05:00
ef76367358
* Issue hint when failing to switch back to branch Switching back to the branch fails with the below error on a shallow checkout: 2023-04-18 21:34:51 [ERROR] Failed to switch back to branch! 2023-04-18 21:34:51 [FATAL] [fatal: reference is not a tree: 3afa21b5f9bef8e81396e3572a598d089e710b96] With this change, it will look as follows: 2023-04-18 21:34:51 [ERROR] Failed to switch back to branch! 2023-04-18 21:34:51 [INFO] Check that you have the full git history, the checkout is not shallow, etc 2023-04-18 21:34:51 [INFO] See https://github.com/github/super-linter#example-connecting-github-action-workflow 2023-04-18 21:34:51 [FATAL] [fatal: reference is not a tree: 3afa21b5f9bef8e81396e3572a598d089e710b96] * Update lib/functions/buildFileList.sh --------- Co-authored-by: Philip Mallegol-Hansen <philip@mallegolhansen.com> |
||
---|---|---|
.. | ||
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