From 2879719d287f44e64b0a90eb8ff4e79af4bec8a7 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Sat, 28 Nov 2020 10:41:00 -0500 Subject: [PATCH] CI: only run tests on rust branch and PRs This avoids running the tests 2x on PRs that exist on this repo (as opposed to forks). --- .github/workflows/ci.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d50cfa62df5335..449a5fbda500c8 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,4 +1,7 @@ -on: [pull_request, push] +on: + pull_request: {} + push: + branches: [rust] jobs: ci: