]> source.dussan.org Git - jquery.git/commitdiff
Build: Don't run CI push workflows for dependabot branches
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>
Mon, 13 Nov 2023 17:18:20 +0000 (18:18 +0100)
committerMichał Gołębiowski-Owczarek <m.goleb@gmail.com>
Mon, 13 Nov 2023 17:23:03 +0000 (18:23 +0100)
Without this change, dependabot PRs run double checks - one set for the `push`
part and one for the `pull_request` part.

Closes gh-5353

(cherry picked from commit 635cb152e7daac658223455aaab2f81204b5b215)

.github/workflows/node.js.yml

index a2001ef335c5562a3ccdb6c7de217f22d7349725..ac787f2840fcfff106af5c822abc39ef13864028 100644 (file)
@@ -1,6 +1,9 @@
 name: CI
 
-on: [push, pull_request]
+on:
+  pull_request:
+  push:
+    branches-ignore: "dependabot/**"
 
 permissions:
   contents: read # to fetch code (actions/checkout)