Skip to content

Commit 47919d3

Browse files
committed
ci: Fix duplicate workflow runs
Configure workflow to run on: - Pushes to main branch only - All pull requests This prevents duplicate runs when pushing to PR branches while still ensuring all commits are validated (either via push to main or PR checks).
1 parent 572fa4c commit 47919d3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: Build and Release Addon
22

33
on:
44
push:
5+
branches:
6+
- main
57
pull_request:
68
workflow_dispatch:
79
inputs:

0 commit comments

Comments
 (0)