fixup(ci): do not process '%ci:no-build' on 'workflow_dispatch'
This commit is contained in:
parent
e7431f5aea
commit
04e7833ede
2
.github/workflows/packages.yml
vendored
2
.github/workflows/packages.yml
vendored
@ -60,6 +60,7 @@ jobs:
|
||||
mkdir -p ./artifacts ./debs
|
||||
touch ./debs/.placeholder
|
||||
|
||||
if [ "${{ github.event_name }}" != "workflow_dispatch" ]; then
|
||||
# Process tag '%ci:no-build' that may be added as line to commit message.
|
||||
# Forces CI to cancel current build with status 'passed'
|
||||
if grep -qiP '^\s*%ci:no-build\s*$' <(git log --format="%B" -n 1 "HEAD"); then
|
||||
@ -68,7 +69,6 @@ jobs:
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ "${{ github.event_name }}" != "workflow_dispatch" ]; then
|
||||
# Build local Docker image if setup scripts were changed.
|
||||
# Useful for pull requests submitting changes for both build environment and packages.
|
||||
if grep -qP '^scripts/(Dockerfile|setup-android-sdk\.sh|setup-ubuntu\.sh)$' <<< "$CHANGED_FILES"; then
|
||||
|
Loading…
Reference in New Issue
Block a user