Skip to content

Commit 0592ecb

Browse files
github-actions[bot]Copilot
authored andcommitted
Remove duplicate CI trigger on push to main from pull-requests.yml
The 'Build and Test PR' workflow was triggered on both 'pull_request' and 'push: main'. This caused duplicate CI runs every time a PR was merged: both pull-requests.yml (Ubuntu + Windows) and push-main.yml (Ubuntu) would run the full pipeline in parallel. The push-main.yml workflow already handles all post-merge work on main (lint, build, test, pack, generate docs, deploy, publish NuGet). The PR workflow's purpose is cross-platform testing *before* merge. Removing the 'push: main' trigger eliminates ~2 redundant jobs per merge. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 0e46e50 commit 0592ecb

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

.github/workflows/pull-requests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
name: Build and Test PR
22

33
on:
4-
push:
5-
branches:
6-
- main
74
pull_request:
85
branches:
96
- main

0 commit comments

Comments
 (0)