From f877689ab1904ff896691f6adba4f2c7932186be Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Tue, 20 Oct 2020 20:13:40 -0400 Subject: [PATCH] chore: Don't double build DependaBot PRs These are submitted by PR, so branches don't need to build --- .github/workflows/alpine.yml | 6 +++++- .github/workflows/coverage.yml | 2 ++ .github/workflows/lint-js.yml | 2 ++ .github/workflows/linux.yml | 6 +++++- .github/workflows/macos.yml | 6 +++++- .github/workflows/windows.yml | 6 +++++- 6 files changed, 24 insertions(+), 4 deletions(-) diff --git a/.github/workflows/alpine.yml b/.github/workflows/alpine.yml index 7700babe8..7701bd0f9 100644 --- a/.github/workflows/alpine.yml +++ b/.github/workflows/alpine.yml @@ -1,6 +1,10 @@ name: Build bindings for Alpine releases -on: [push, pull_request] +on: + push: + branches-ignore: + - "dependabot/**" + pull_request: jobs: build: diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index fdd8df9bd..0eb4509a9 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -2,6 +2,8 @@ name: Coverage on: push: + branches-ignore: + - "dependabot/**" paths: - ".nycrc.json" - "**/*.js" diff --git a/.github/workflows/lint-js.yml b/.github/workflows/lint-js.yml index ee886c772..b1e44eae2 100644 --- a/.github/workflows/lint-js.yml +++ b/.github/workflows/lint-js.yml @@ -2,6 +2,8 @@ name: Lint JS on: push: + branches-ignore: + - "dependabot/**" paths: - "**/*.js" - ".eslintrc.json" diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 9e3184c3c..323e2c00d 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -1,6 +1,10 @@ name: Build bindings for Linux releases -on: [push, pull_request] +on: + push: + branches-ignore: + - "dependabot/**" + pull_request: jobs: build: diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index bdfeb0088..baae382b9 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -1,6 +1,10 @@ name: Build bindings for macOS releases -on: [push, pull_request] +on: + push: + branches-ignore: + - "dependabot/**" + pull_request: jobs: build: diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 9724b096c..2c072ce28 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -1,6 +1,10 @@ name: Build bindings for Windows releases -on: [push, pull_request] +on: + push: + branches-ignore: + - "dependabot/**" + pull_request: jobs: build: