Skip to content

Commit

Permalink
Optimize CI execution on PR and Push, to not run them twice (#858)
Browse files Browse the repository at this point in the history
  • Loading branch information
konalegi authored Sep 19, 2022
1 parent 50bd5c1 commit 5ecbee3
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
name: CI

on: [push, pull_request]
on:
push:
branches: [master]
pull_request:
types: [
synchronize, # PR was updated
opened # PR was open
]

jobs:
ruby-2:
Expand Down

0 comments on commit 5ecbee3

Please sign in to comment.