File tree Expand file tree Collapse file tree 1 file changed +6
-10
lines changed
Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -64,21 +64,17 @@ jobs:
6464
6565 comment :
6666 runs-on : ubuntu-latest
67- needs :
68- - " check-labels"
69-
70- if : always()
67+ needs :
68+ - check-labels
69+ if : always() && needs.check-labels.result == 'failure'
7170 steps :
72- - uses : step-security/workflow-conclusion-action@v3
7371 - name : Checkout
74- uses : actions/checkout@v1
75-
72+ uses : actions/checkout@v5
7673 - name : Comment PR
77- if : env.WORKFLOW_CONCLUSION == 'failure'
78- uses : thollander/actions-comment-pull-request@1.0.2
74+ uses : thollander/actions-comment-pull-request@v3.0.0
7975 with :
8076 message : " Please apply one of the following labels to the PR: 'patch', 'minor', 'major'."
81- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
77+ github-token : ${{ secrets.GITHUB_TOKEN }}
8278
8379 prepare-release :
8480 needs : ["check-labels", "comment"]
You can’t perform that action at this time.
0 commit comments