From 94f1a8f5bd4a0dccd4eec916941d8bdd1cd71771 Mon Sep 17 00:00:00 2001 From: Sam Bostock Date: Wed, 10 Feb 2021 14:14:58 -0500 Subject: [PATCH] Only build on `push`, not on `pull_request` too Listening for both events triggers a redundant build. All PRs will have involved pushing a branch, so the build will have already been triggered. There is no need to trigger it again. --- .github/workflows/ruby.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 6ac53c3d..7f79aafb 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -1,6 +1,6 @@ name: Ruby -on: [push, pull_request] +on: [push] jobs: build: