Skip to content

Commit

Permalink
Only run bors dummy jobs on push
Browse files Browse the repository at this point in the history
  • Loading branch information
flip1995 committed Feb 4, 2020
1 parent 9b6cbec commit 58693e9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/clippy_bors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand All @@ -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]

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/clippy_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand All @@ -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]

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/remark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand All @@ -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]

Expand Down

0 comments on commit 58693e9

Please sign in to comment.