Avoid reusable CI failure when there are no shell scripts #6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The action fails when the repo does not contain any file. Either fix the action or embed shellcheck in the devops image and use a simple run command (probably harder than it seems because shellcheck only checks one file at a time).
A simple workaround consists in not checking all files together (the
check_togetherinput of the action must be left unset). In that case, the action handles the absence of file neatly.The workflow was refactored in #7 to support that better.