Просмотр исходного кода

set github.head_ref for destination

Yuki Takei 2 лет назад
Родитель
Сommit
d4477b6a05
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      .github/workflows/release.yml

+ 1 - 1
.github/workflows/release.yml

@@ -118,7 +118,7 @@ jobs:
       uses: repo-sync/pull-request@v2
       with:
         source_branch: support/prepare-v${{ steps.package-json.outputs.packageVersion }}
-        destination_branch: master
+        destination_branch: ${{ github.head_ref }}
         pr_title: Prepare v${{ steps.package-json.outputs.packageVersion }}
         pr_label: flag/exclude-from-changelog,type/prepare-next-version
         pr_body: "[skip ci] An automated PR generated by create-pr-for-next-rc"