Skip to content

Commit 63a9d90

Browse files
committed
chore(ci): prevent duplicate ci triggers
Triggering on all 'push' and 'pull_request' events will result in duplicated CI runs in PRs (due to both conditions being met). Instead, trigger only on pushes to `master`, or updates to PRs targetting `master`. Signed-off-by: JP-Ellis <[email protected]>
1 parent 3b8e6ec commit 63a9d90

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/ci.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
name: CI
22

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

511
env:
612
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true

0 commit comments

Comments
 (0)