diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 40cf4f0d67..94c590aa3e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,9 +15,9 @@ jobs: steps: - name: Branch check run: | - if [[ "$GITHUB_REF" != "refs/heads/release" ]] || [[ "$GITHUB_REF" != "refs/heads/master" ]]; then + if [[ "$GITHUB_REF" != "refs/heads/release" ]]; then echo "===================================" - echo "[!] Can only release from the 'release' or 'master' branches" + echo "[!] Can only release from the 'release' branches" echo "===================================" exit 1 fi