Github Actions 5 years ago
parent
commit
d20229b56c
  1. 3
      .github/workflows/DINAR.yml

3
.github/workflows/DINAR.yml

@ -42,7 +42,8 @@ jobs:
run: | run: |
REF=${GITHUB_BASE_REF:-${GITHUB_REF}} REF=${GITHUB_BASE_REF:-${GITHUB_REF}}
BRANCH=${REF##*/} BRANCH=${REF##*/}
if ! $( echo "$BRANCH" | grep -E "^(master|[0-9]+\.[0-9]+)(-dev-.+)?$" )
CHECK=$( echo "$BRANCH" | grep -E "^(master|[0-9]+\.[0-9]+)(-dev-.+)?$" || true)
if [ -z "$CHECK" ]
then then
echo "This branch is not supposed to be a target of pull requests, so docker image is not needed." echo "This branch is not supposed to be a target of pull requests, so docker image is not needed."
echo "For information check https://github.com/itpp-labs/DINAR/issues/60" echo "For information check https://github.com/itpp-labs/DINAR/issues/60"

Loading…
Cancel
Save