浏览代码

Do Not Run Some Workflows on Dependabot's PRs

Issue gh-13873
Marcus Da Coregio 1 年之前
父节点
当前提交
3aae03b1b2
共有 2 个文件被更改,包括 9 次插入1 次删除
  1. 3 0
      .github/workflows/continuous-integration-workflow.yml
  2. 6 1
      .github/workflows/deploy-docs.yml

+ 3 - 0
.github/workflows/continuous-integration-workflow.yml

@@ -1,6 +1,9 @@
 name: CI
 
 on:
+  pull_request:
+    branches-ignore:
+      - "dependabot/**"
   push:
     branches-ignore:
       - "dependabot/**"

+ 6 - 1
.github/workflows/deploy-docs.yml

@@ -1,7 +1,12 @@
 name: Deploy Docs
 on:
+  pull_request:
+    branches-ignore:
+      - "dependabot/**"
   push:
-    branches-ignore: [ "gh-pages", "dependabot/**" ]
+    branches-ignore:
+      - "gh-pages"
+      - "dependabot/**"
     tags: '**'
   repository_dispatch:
     types: request-build-reference # legacy