Skip to content

Commit 826a3d1

Browse files
authored
Merge pull request rails#50543 from santib/run-ci-on-every-pr
Adjust CI config for new Rails apps to run on PRs to any branch
2 parents 3c7b520 + 05ce894 commit 826a3d1

File tree

1 file changed

+1
-2
lines changed
  • railties/lib/rails/generators/rails/app/templates/github

1 file changed

+1
-2
lines changed

railties/lib/rails/generators/rails/app/templates/github/ci.yml.tt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
name: CI
22

33
on:
4-
push:
5-
branches: [ main ]
64
pull_request:
5+
push:
76
branches: [ main ]
87

98
jobs:

0 commit comments

Comments
 (0)