ソースを参照

Only run target branch check on HaxeFoundation/haxe (#12184)

Zeta 3 ヶ月 前
コミット
a093fdcd76
1 ファイル変更2 行追加1 行削除
  1. 2 1
      .github/workflows/target.yml

+ 2 - 1
.github/workflows/target.yml

@@ -8,12 +8,13 @@ on:
       - edited
 jobs:
   check-branches:
+    if: github.repository == 'HaxeFoundation/haxe'
     runs-on: ubuntu-latest
     steps:
       - name: Check branches
         run: |
           if [ ${{ github.base_ref }} != "development" ]; then
-            echo "Merge requests should target `development`."
+            echo "Merge requests should target development."
             exit 1
           fi