superlint/lib/functions
Marco Ferrari 5a8805dc4f
Exit on errors when running Git (#4889)
* Exit on errors when running Git

* Skip pulling changes entirely

* Enable pipefail when generating diffs

* Cleanup

* Shallow repo check

* Echo GITHUB_SHA update

* Check if GITHUB_SHA exists before using it

* Move GITHUB_SHA validation to validation script

* Rely on cat-file return code

* Check if DEFAULT_BRANCH exists

* Change dir when checking DEFAULT_BRANCH

* Show git branches

* Don't switch branches

* Check GITHUB_SHA only when needed

* Ensure we have permissions before interacting with the repo

* Remove the DIFF_CMD variable

* Move TEST_CASE_RUN and RUN_LOCAL init up

* Validate if Git repo and if SHA exists

* Move validation function

* Change dir when getting branch names

* Move debug messages up to be less verbose

* Move branch validation in a function

* Fix linting errors
2023-12-04 09:47:49 +00:00
..
experimental-batch-workers Batched & parallel support for cfn-lint, eslint, gitleaks (#4088) 2023-10-31 00:13:33 +00:00
buildFileList.sh Exit on errors when running Git (#4889) 2023-12-04 09:47:49 +00:00
detectFiles.sh No fatal error on R package installation (#4705) 2023-10-15 05:10:37 +00:00
linterRules.sh Fix ts-standard configuration (#4932) 2023-12-02 08:35:41 +00:00
linterVersions.sh Add renovate-config-validator (#4643) 2023-09-12 16:58:09 +00:00
log.sh adding fixes (#1516) 2021-05-04 11:33:21 -05:00
possum.sh break out: (#990) 2020-11-12 11:27:34 -06:00
setupSSH.sh update GitHub SSH fingerprints (#4826) 2023-11-01 12:09:09 -07:00
updateSSL.sh Certs (#1470) 2021-04-26 09:00:42 -05:00
validation.sh Exit on errors when running Git (#4889) 2023-12-04 09:47:49 +00:00
worker.sh Batched & parallel support for cfn-lint, eslint, gitleaks (#4088) 2023-10-31 00:13:33 +00:00