Skip to content

Commit 050b26b

Browse files
committed
Reduce the amount of jobs for a pull request
1 parent a4e2cd7 commit 050b26b

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/coverage.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
name: coverage
22

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

510
jobs:
611
coverage:

.github/workflows/tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: tests
22

33
on:
44
push:
5+
branches:
6+
- 'main'
7+
- 'master'
58
pull_request:
69
schedule:
710
- cron: '0 0 * * *'

0 commit comments

Comments
 (0)