File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ name: Update Observe Frontend
77on :
88 release :
99 types : [published]
10+ pull_request : # TODO: remove after testing
1011 workflow_dispatch :
1112 inputs :
1213 tag :
2627 - name : Extract version from tag
2728 id : version
2829 env :
29- TAG_NAME : ${{ inputs.tag || github.event.release.tag_name }}
30+ TAG_NAME : ${{ inputs.tag || github.event.release.tag_name || 'v3.214.0' }} # TODO: remove fallback after testing
3031 run : echo "version=${TAG_NAME#v}" >> $GITHUB_OUTPUT
3132
3233 - name : Checkout to read commit message
4344 run : |
4445 if [ -n "$MANUAL_TICKET" ]; then
4546 echo "tickets=$MANUAL_TICKET" >> $GITHUB_OUTPUT
46- else
47+ elif [ -n "$TAG" ]; then
4748 TICKETS=$(git log -2 --format='%B' "$TAG" | grep -oE '(WH|WEKAPP)-[0-9]+' | sort -u | tr '\n' ',')
4849 echo "tickets=${TICKETS%,}" >> $GITHUB_OUTPUT
50+ else
51+ echo "tickets=WH-1111" >> $GITHUB_OUTPUT # TODO: remove fallback after testing
4952 fi
5053
5154 - name : Find gohome PRs matching release tickets
You can’t perform that action at this time.
0 commit comments