Skip to content

Commit 71a3bdd

Browse files
committed
Update build.yml: refine push event triggers to only run on the main branch and add workflow_dispatch support
1 parent 3fb1a89 commit 71a3bdd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@ name: Build
22

33
on:
44
push:
5-
branches: ['**'] # Only run on branches
6-
tags-ignore: ['*'] # Ignore all tags
75
paths-ignore: ['**.md', '.vscode/**','docs/**','pictures/**']
6+
branches:
7+
- main # Only run on branches
88
pull_request:
99
types: [opened, synchronize, reopened]
1010
paths-ignore: ['**.md', '.vscode/**','docs/**','pictures/**']
11+
workflow_dispatch:
1112

1213
env:
1314
TOOL4D_PRODUCT_LINE: '20Rx'

0 commit comments

Comments
 (0)