superlint/lib/functions
Marco Ferrari 36971e1125
fix: handle push tag events on merge commits ()
When a "push tag" event triggers a GitHub Actions workflow,
the "commits" array in the event payload is empty, so the commit count
in this case (GITHUB_PUSH_COMMIT_COUNT) is 0.

In the particular case of a tag pointing to a merge commit, adjust the
logic that initializes GITHUB_PUSH_COMMIT_COUNT.

Close 
2025-02-21 14:13:03 +01:00
..
buildFileList.sh feat: add nbqa linter for jupyter notebooks () 2024-12-20 19:13:16 +00:00
detectFiles.sh fix: don't skip processing ansible_directory pwd () 2024-06-19 16:58:11 +00:00
githubDomain.sh feat: configure github server url () 2024-06-21 08:54:19 +02:00
githubEvent.sh fix: handle push tag events on merge commits () 2025-02-21 14:13:03 +01:00
linterCommands.sh feat: add nbqa linter for jupyter notebooks () 2024-12-20 19:13:16 +00:00
linterRules.sh fix!: remove undocumented secondary extension case () 2024-08-14 18:50:27 +02:00
log.sh fix: respect log level when writing to the log () 2024-04-20 09:18:14 +00:00
output.sh feat: optionally remove color codes from output () 2024-08-31 19:50:00 +02:00
possum.sh break out: () 2020-11-12 11:27:34 -06:00
setupSSH.sh feat: enable shell error checks () 2024-02-20 19:05:39 +00:00
updateSSL.sh feat: enable shell error checks () 2024-02-20 19:05:39 +00:00
validation.sh feat: lint commit messages with commitlint () 2024-09-19 08:53:13 +00:00
worker.sh fix: handle push tag events on merge commits () 2025-02-21 14:13:03 +01:00