summaryrefslogtreecommitdiff
path: root/lib/bundler/templates/newgem/github/workflows/main.yml.tt
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bundler/templates/newgem/github/workflows/main.yml.tt')
-rw-r--r--lib/bundler/templates/newgem/github/workflows/main.yml.tt3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/bundler/templates/newgem/github/workflows/main.yml.tt b/lib/bundler/templates/newgem/github/workflows/main.yml.tt
index 83ddea25dc..952cd649a2 100644
--- a/lib/bundler/templates/newgem/github/workflows/main.yml.tt
+++ b/lib/bundler/templates/newgem/github/workflows/main.yml.tt
@@ -2,7 +2,8 @@ name: Ruby
on:
push:
- - <%= config[:git_default_branch] %>
+ branches:
+ - <%= config[:git_default_branch] %>
pull_request: