Skip to content

Commit 0d303e0

Browse files
authored
Don't start the release workflow when not wanted
Signed-off-by: Sellara <147769367+Sella-GH@users.noreply.github.com>
1 parent 8df0c10 commit 0d303e0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/dotnet-release-publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717

1818
extract_meta:
1919
name: Extract metadata for use
20+
if: ${{ contains(github.event.head_commit.message, '[release]') || contains(github.event.head_commit.message, '[pre-release]') }}
2021
runs-on: ubuntu-latest
2122
outputs:
2223
loc_cs: ${{ steps.loc_cs.outputs.total_lines }}

0 commit comments

Comments
 (0)