Browse Source

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

Zeta 3 months ago
parent
commit
a093fdcd76
1 changed files with 2 additions and 1 deletions
  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