From 58693e9b2ad6c65c5160f849bc6f39f332789878 Mon Sep 17 00:00:00 2001 From: flip1995 Date: Tue, 4 Feb 2020 17:50:41 +0100 Subject: [PATCH] Only run bors dummy jobs on push --- .github/workflows/clippy_bors.yml | 4 ++-- .github/workflows/clippy_dev.yml | 4 ++-- .github/workflows/remark.yml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/clippy_bors.yml b/.github/workflows/clippy_bors.yml index 39e5a8b0de87..117110e55286 100644 --- a/.github/workflows/clippy_bors.yml +++ b/.github/workflows/clippy_bors.yml @@ -275,7 +275,7 @@ jobs: end-success: name: bors test finished - if: success() + if: github.event.push && success() runs-on: ubuntu-latest needs: [base, integration] @@ -285,7 +285,7 @@ jobs: end-failure: name: bors test finished - if: failure() + if: github.event.push && failure() runs-on: ubuntu-latest needs: [base, integration] diff --git a/.github/workflows/clippy_dev.yml b/.github/workflows/clippy_dev.yml index 75d55fb45527..f3b0498f31b4 100644 --- a/.github/workflows/clippy_dev.yml +++ b/.github/workflows/clippy_dev.yml @@ -51,7 +51,7 @@ jobs: end-success: name: bors dev test finished - if: success() + if: github.event.push && success() runs-on: ubuntu-latest needs: [clippy_dev] @@ -61,7 +61,7 @@ jobs: end-failure: name: bors dev test finished - if: failure() + if: github.event.push && failure() runs-on: ubuntu-latest needs: [clippy_dev] diff --git a/.github/workflows/remark.yml b/.github/workflows/remark.yml index 607be06e9f30..d341c4e26c33 100644 --- a/.github/workflows/remark.yml +++ b/.github/workflows/remark.yml @@ -31,7 +31,7 @@ jobs: end-success: name: bors remark test finished - if: success() + if: github.event.push && success() runs-on: ubuntu-latest needs: [remark] @@ -41,7 +41,7 @@ jobs: end-failure: name: bors remark test finished - if: failure() + if: github.event.push && failure() runs-on: ubuntu-latest needs: [remark]