Skip to content

Commit 17aa96c

Browse files
committed
.github/workflows/ci.yml: Drop push trigger, add workflow_dispatch
Triggering the workflow on both `push` and `pull_request` leads to redundant workflow runs despite the concurrency configuration. Drop the `push` trigger to prevent this while still triggering workflows on all pull requests (including forks). Add the `workflow_dispatch` trigger as alternative for branches in the main repository without an open PR. The downside is that this trigger is manual.
1 parent dc360ce commit 17aa96c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ name: PR Checks
44
# redundant, we avoid concurrency with the below configuration.
55
#
66
on:
7-
push:
87
pull_request:
8+
workflow_dispatch:
99

1010
# Use the concurrency feature to ensure we don't run redundant workflows
1111
#

0 commit comments

Comments
 (0)