Skip to content

Commit d60673d

Browse files
authored
Merge pull request #2628 from userdocs/workflows-fix-triggers
prevent duplicate runs being triggered when a release tag is published via webui
2 parents b783add + 9659311 commit d60673d

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

.github/workflows/linux-musl.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
workflow_dispatch:
55
pull_request:
66
push:
7+
branches: ['**']
8+
tags-ignore: ['**'] # Don't trigger on tag pushes
79
release:
810
types: [published]
911

.github/workflows/linux.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ name: Linux
33
on:
44
pull_request:
55
push:
6+
branches: ['**']
7+
tags-ignore: ['**'] # Don't trigger on tag pushes
68
release:
7-
types: published
9+
types: [published]
810

911
jobs:
1012
fedora:

.github/workflows/macos.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ name: macOS
33
on:
44
pull_request:
55
push:
6+
branches: ['**']
7+
tags-ignore: ['**'] # Don't trigger on tag pushes
68
release:
7-
types: published
9+
types: [published]
810

911
jobs:
1012
build:

.github/workflows/windows.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ name: Windows
33
on:
44
pull_request:
55
push:
6+
branches: ['**']
7+
tags-ignore: ['**'] # Don't trigger on tag pushes
68
release:
7-
types: published
9+
types: [published]
810

911
jobs:
1012
build:

0 commit comments

Comments
 (0)