File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 11name : Version Tag and Release Notes
22
33on :
4- push :
4+ pull_request :
5+ types : [closed]
56 branches :
67 - main
7- paths :
8- - ' versions.json'
98
109 workflow_dispatch :
1110 inputs :
1615
1716jobs :
1817 create-tag-and-release :
18+ if : github.event.pull_request.merged && startsWith(github.event.pull_request.title, 'chore: bump version')
1919 runs-on : ubuntu-latest
2020 steps :
2121 - name : Checkout code
4646
4747 echo "Final version: $VERSION"
4848 echo "version=$VERSION" >> $GITHUB_OUTPUT
49- echo "tag_name=v$VERSION" >> $GITHUB_OUTPUT - name: Check if tag exists
49+ echo "tag_name=v$VERSION" >> $GITHUB_OUTPUT
50+
51+ - name : Check if tag exists
5052 id : check_tag
5153 run : |
5254 TAG_NAME="v${{ steps.extract_version.outputs.version }}"
You can’t perform that action at this time.
0 commit comments