Skip to content

Commit e504f1c

Browse files
committed
fix(ci): do not run both push and pull_request pipelines
1 parent 146905e commit e504f1c

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

.github/workflows/ci-cd.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
name: Ruby CI/CD
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
pull_request:
8+
types:
9+
- opened
10+
- synchronize
11+
- reopened
412

513
permissions: {}
614
jobs:
@@ -42,7 +50,6 @@ jobs:
4250
run: bundle exec rake
4351

4452
Integration_tests:
45-
if: github.event_name == 'push'
4653
runs-on: ${{ matrix.os }}
4754
timeout-minutes: 10
4855
needs: Unit_tests

0 commit comments

Comments
 (0)