From 165c6973a014fdfb2000ec0a61ebb62058d2c855 Mon Sep 17 00:00:00 2001 From: nick evans Date: Tue, 2 Dec 2025 17:53:22 -0500 Subject: [PATCH] =?UTF-8?q?=E2=9C=85=20Trigger=20CI=20for=20every=20PR?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit By keeping "workflow_dispatch", we can always run CI manually on any branch. By not running on _every_ branch, we avoid running the specs twice inside PRs. --- .github/workflows/ruby.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 9af4f2a..434cfce 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -1,6 +1,10 @@ name: CI -on: [push, workflow_dispatch] +on: + workflow_dispatch: + pull_request: + push: + branches: [ main ] jobs: build: