Sfoglia il codice sorgente

Do not run some workflows for Dependabot branches

Issue gh-13873

(cherry picked from commit ab812b2b5399985e54472d8e3d13f9b52730b06d)
Marcus Da Coregio 1 anno fa
parent
commit
9e877c9bc6

+ 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