File tree 2 files changed +8
-8
lines changed 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -614,13 +614,6 @@ jobs:
614
614
GITHUB_TOKEN : ${{ secrets.RELEASE_BOT_GITHUB_TOKEN }}
615
615
NPM_TOKEN : ${{ secrets.NPM_TOKEN_ELEVATED }}
616
616
617
- # Add label to verify the PR is created from this workflow.
618
- - name : Add label to PR
619
- if : steps.changesets.outputs.pullRequestNumber
620
- run : ' gh pr edit ${{ steps.changesets.outputs.pullRequestNumber }} --add-label "created-by: CI"'
621
- env :
622
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
623
-
624
617
- name : Send a Slack notification of the publish status
625
618
run : pnpm tsx scripts/release/slack.ts
626
619
env :
Original file line number Diff line number Diff line change @@ -107,10 +107,17 @@ jobs:
107
107
- run : pnpm run build
108
108
109
109
- name : Create Release Pull Request
110
- id : version-packages
110
+ id : changesets
111
111
uses : changesets/action@v1
112
112
with :
113
113
version : pnpm ci:version
114
114
env :
115
115
GITHUB_TOKEN : ${{ secrets.RELEASE_BOT_GITHUB_TOKEN }}
116
116
RELEASE_TYPE : ${{ github.event.inputs.releaseType }}
117
+
118
+ # Add label to verify the PR is created from this workflow.
119
+ - name : Add label to PR
120
+ if : steps.changesets.outputs.pullRequestNumber
121
+ run : ' gh pr edit ${{ steps.changesets.outputs.pullRequestNumber }} --add-label "created-by: CI"'
122
+ env :
123
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments