@@ -17,7 +17,7 @@ name: Check Changeset
1717on :
1818 pull_request :
1919 branches :
20- - master
20+ - main
2121
2222env :
2323 GITHUB_PULL_REQUEST_HEAD_SHA : ${{ github.event.pull_request.head.sha }}
4141 - name : Yarn install
4242 run : yarn
4343 - name : Run changeset script
44- # pull master so changeset can diff against it
44+ # pull main so changeset can diff against it
4545 run : |
46- git pull -f --no-rebase origin master:master
46+ git pull -f --no-rebase origin main:main
4747 yarn ts-node-script scripts/ci/check_changeset.ts
4848 id : check-changeset
4949 - name : Print changeset checker output
@@ -54,22 +54,22 @@ jobs:
5454 - name : Print blocking failure status
5555 run : echo "${{steps.check-changeset.outputs.BLOCKING_FAILURE}}"
5656 - name : Find Comment
57- uses : peter-evans/find-comment@v1
57+ uses : peter-evans/find-comment@v3
5858 id : fc
5959 with :
6060 issue-number : ${{github.event.number}}
6161 body-includes : Changeset File Check
6262 - name : Create comment (missing packages)
6363 if : ${{!steps.fc.outputs.comment-id && steps.check-changeset.outputs.CHANGESET_ERROR_MESSAGE}}
64- uses : peter-evans/create-or-update-comment@v1
64+ uses : peter-evans/create-or-update-comment@v4
6565 with :
6666 issue-number : ${{github.event.number}}
6767 body : |
6868 ### Changeset File Check :warning:
6969 ${{steps.check-changeset.outputs.CHANGESET_ERROR_MESSAGE}}
7070 - name : Update comment (missing packages)
7171 if : ${{steps.fc.outputs.comment-id}}
72- uses : peter-evans/create-or-update-comment@v1
72+ uses : peter-evans/create-or-update-comment@v4
7373 with :
7474 comment-id : ${{steps.fc.outputs.comment-id}} && steps.check-changeset.outputs.CHANGESET_ERROR_MESSAGE}}
7575 edit-mode : replace
7878 ${{steps.check-changeset.outputs.CHANGESET_ERROR_MESSAGE}}
7979 - name : Update comment (no missing packages)
8080 if : ${{steps.fc.outputs.comment-id && !steps.check-changeset.outputs.CHANGESET_ERROR_MESSAGE}}
81- uses : peter-evans/create-or-update-comment@v1
81+ uses : peter-evans/create-or-update-comment@v4
8282 with :
8383 comment-id : ${{steps.fc.outputs.comment-id}}
8484 edit-mode : replace
0 commit comments