ci: delete master branch from auto-sync

This commit is contained in:
Zaiming Shi 2021-11-19 08:43:58 +01:00
parent bed5031f45
commit 2d1aeb655c
1 changed files with 1 additions and 5 deletions

View File

@ -24,11 +24,7 @@ jobs:
id: create_pull_request
run: |
set -euo pipefail
if [ "$GITHUB_REF" = "refs/heads/master" ]; then
EE_REF="refs/heads/enterprise"
else
EE_REF="${GITHUB_REF}-enterprise"
fi
EE_REF="${GITHUB_REF}-enterprise"
R=$(curl --silent --show-error \
-H "Accept: application/vnd.github.v3+json" \
-H "Authorization: token ${{ secrets.CI_GIT_TOKEN }}" \