Skip to content

Commit

Permalink
ci: only run on pull requests and pushes to main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath committed Dec 8, 2023
1 parent 9fdbefb commit b046b98
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Rubocop

on: [push, pull_request]
on:
push:
branches:
- 'master'
pull_request:

jobs:
rubocop:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@

name: Ruby

on: [push, pull_request]
on:
push:
branches:
- 'master'
pull_request:

jobs:
check_react_and_ujs:
Expand Down

0 comments on commit b046b98

Please sign in to comment.