Skip to content

Commit 93bdacf

Browse files
authored
Merge pull request #129 from domaframework/ci/update-version-condition
Added a condition to output logs only when references are resolved.
2 parents c0a226a + 947a520 commit 93bdacf

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/release-drafter.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,11 @@ on:
44
push:
55
branches:
66
- main
7-
pull_request:
8-
types: [opened, reopened, synchronize]
97
workflow_dispatch:
108

119
jobs:
1210
update_release_draft:
13-
if: ${{ !contains(github.head_ref, 'doc/changelog-update-') }}
11+
if: ${{ !contains(github.head_ref, 'doc/changelog-update-') } && startsWith(github.event.head_commit.message, 'Merge pull request')}
1412
permissions:
1513
contents: write
1614
pull-requests: write

0 commit comments

Comments
 (0)