Skip to content

Commit 8a3126d

Browse files
authored
ci: only run on pull requests and pushes to main branch (#1322)
1 parent 9fdbefb commit 8a3126d

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.github/workflows/rubocop.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: Rubocop
22

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

59
jobs:
610
rubocop:

.github/workflows/ruby.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@
77

88
name: Ruby
99

10-
on: [push, pull_request]
10+
on:
11+
push:
12+
branches:
13+
- 'master'
14+
pull_request:
1115

1216
jobs:
1317
check_react_and_ujs:

0 commit comments

Comments
 (0)