瀏覽代碼

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:
 jobs:
   pr-body-check:
   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
     runs-on: ubuntu-latest
     steps:
     steps:
       - name: Check pull request body follows the template
       - name: Check pull request body follows the template