浏览代码

Do not run some workflows for Dependabot branches

Issue gh-13873

(cherry picked from commit ab812b2b5399985e54472d8e3d13f9b52730b06d)
Marcus Da Coregio 1 年之前
父节点
当前提交
9e877c9bc6
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 2 2
      .github/workflows/continuous-integration-workflow.yml
  2. 1 1
      .github/workflows/deploy-docs.yml

+ 2 - 2
.github/workflows/continuous-integration-workflow.yml

@@ -2,8 +2,8 @@ name: CI
 
 on:
   push:
-    branches:
-      - '**'
+    branches-ignore:
+      - "dependabot/**"
   schedule:
     - cron: '0 10 * * *' # Once per day at 10am UTC
   workflow_dispatch: # Manual trigger

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

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