Skip to content

Commit b13a78f

Browse files
Copilotnomeguy
andcommitted
Fix duplicated CI checks in PRs by limiting push events to master branch
Co-authored-by: nomeguy <85475922+nomeguy@users.noreply.github.com>
1 parent 5696155 commit b13a78f

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.github/workflows/build.yml

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

3-
on: [ push, pull_request ]
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
48

59
jobs:
610

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
name: CI
22

33
on:
4-
- push
5-
- pull_request
4+
push:
5+
branches:
6+
- master
7+
pull_request:
68

79
jobs:
810

0 commit comments

Comments
 (0)