Bläddra i källkod

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

Zeta 3 månader sedan
förälder
incheckning
a093fdcd76
1 ändrade filer med 2 tillägg och 1 borttagningar
  1. 2 1
      .github/workflows/target.yml

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

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