Skip to content

Commit 52ad6e4

Browse files
committed
✅ Trigger CI for every PR
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.
1 parent 7bb604d commit 52ad6e4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/ruby.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: CI
22

3-
on: [push, workflow_dispatch]
3+
on:
4+
workflow_dispatch:
5+
pull_request:
6+
push:
7+
branches: [ main ]
48

59
jobs:
610
build:

0 commit comments

Comments
 (0)