Преглед изворни кода

fix(ci): skip PR body check for repo-sync PRs (#5083)

Daniel Gibbs пре 2 дана
родитељ
комит
7107e1dfc7
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      .github/workflows/action-pr-body-check.yml

+ 1 - 1
.github/workflows/action-pr-body-check.yml

@@ -14,7 +14,7 @@ permissions:
 
 jobs:
   pr-body-check:
-    if: github.repository_owner == 'GameServerManagers' && github.event.pull_request.user.type != 'Bot'
+    if: github.repository_owner == 'GameServerManagers' && github.event.pull_request.user.type != 'Bot' && !startsWith(github.event.pull_request.head.ref, 'repo-sync/')
     runs-on: ubuntu-latest
     steps:
       - name: Check pull request body follows the template