Skip to content

Commit afe7090

Browse files
committed
Added a condition to output logs only when references are resolved.
1 parent c0a226a commit afe7090

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/release-drafter.yml

Lines changed: 2 additions & 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
@@ -107,3 +105,4 @@ jobs:
107105
fi
108106
git commit -am "Update Version With Release Draft - $REPLACE_VERSION"
109107
git push origin main
108+

0 commit comments

Comments
 (0)