Skip to content

Commit

Permalink
Limit CI trigger to push on master and PRs (#397)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahangarha authored Dec 29, 2023
1 parent f623f76 commit 20e69c9
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 7 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/dummy.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Dummy specs

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

jobs:
test:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/generator.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Generator specs

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

jobs:
test:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/jest.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Jest specs

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

jobs:
jest:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/js-lint.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: JS lint

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

jobs:
lint:
Expand Down
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-backward-compatibility.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Ruby specs - Backward compatibility

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

jobs:
test:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Ruby specs

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

jobs:
test:
Expand Down

0 comments on commit 20e69c9

Please sign in to comment.