File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 push :
55 tags :
66 - ' loro-crdt@*'
7+ pull_request :
8+ types : [closed]
79
810jobs :
911 release :
4547 uses : peter-evans/create-pull-request@v7
4648 with :
4749 token : ${{ secrets.GITHUB_TOKEN }}
48- title : " Release v${{ steps.version.outputs.version }}"
50+ title : " chore: release rust crates v${{ steps.version.outputs.version }}"
4951 body : |
5052 This PR is automatically created to release version ${{ steps.version.outputs.version }}.
5153 Please review the changes and merge to trigger the release.
5860 publish :
5961 needs : release
6062 runs-on : ubuntu-latest
61- if : github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true
63+ if : |
64+ github.event_name == 'pull_request' &&
65+ github.event.action == 'closed' &&
66+ github.event.pull_request.merged == true &&
67+ startsWith(github.event.pull_request.title, 'chore: release rust crates v')
6268 steps :
6369 - uses : actions/checkout@v4
6470
You can’t perform that action at this time.
0 commit comments