File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 1111 default : " patch"
1212 type : choice
1313 options :
14- - major
1514 - minor
1615 - patch
1716
@@ -39,13 +38,13 @@ jobs:
3938 - name : Update libraries
4039 env :
4140 LABEL : ${{ github.event.pull_request.labels[0].name }}
42- if : env.LABEL == 'major' || env.LABEL == ' minor' || env.LABEL == 'patch' && steps.changed-files-specific.outputs.any_changed == true
41+ if : env.LABEL == 'minor' || env.LABEL == 'patch' && steps.changed-files-specific.outputs.any_changed == true
4342 uses : peter-evans/repository-dispatch@v2
4443 with :
4544 token : ${{ steps.generate_token.outputs.token }}
4645 repository : ${{ matrix.repo }}
4746 event-type : generate_publish_release
48- client-payload : ' {"version":"${{ env.LABEL }}"}'
47+ client-payload : ' {"version":"${{ env.LABEL }}","commit_sha":"${{ github.sha }}" }'
4948 - name : Slack notification
5049 uses : ravsamhq/notify-slack-action@v2
5150 if : always()
7978 token : ${{ steps.generate_token.outputs.token }}
8079 repository : ${{ matrix.repo }}
8180 event-type : generate_publish_release
82- client-payload : ' {"version":"${{ github.event.inputs.version_level }}"}'
81+ client-payload : ' {"version":"${{ github.event.inputs.version_level }}","commit_sha":"${{ github.sha }}" }'
8382 - name : Slack notification
8483 uses : ravsamhq/notify-slack-action@v2
8584 if : always()
Original file line number Diff line number Diff line change 2424 with :
2525 mode : exactly
2626 count : 1
27- labels : " major, minor, patch"
27+ labels : " minor, patch"
2828 add_comment : true
2929 message : " This PR is blocked until you add one of the following labels: {{ provided }}. Once added you can merge."
You can’t perform that action at this time.
0 commit comments