File tree Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -30,15 +30,14 @@ jobs:
30
30
cleanup-changesets :
31
31
runs-on : ubuntu-latest
32
32
needs : upload-changesets
33
- environment : production
34
33
steps :
35
34
- name : ' Get token for the GitHub App'
36
- if : ${{ vars.APP_ID != '' }}
35
+ if : ${{ vars.RUNNER_APP_ID != '' }}
37
36
uses : actions/create-github-app-token@f2acddfb5195534d487896a656232b016a682f3c
38
37
id : app-token
39
38
with :
40
- app-id : ${{ vars.APP_ID }}
41
- private-key : ${{ secrets.APP_PRIVATE_KEY }}
39
+ app-id : ${{ vars.RUNNER_APP_ID }}
40
+ private-key : ${{ secrets.RUNNER_APP_PRIVATE_KEY }}
42
41
43
42
- uses : actions/checkout@v4
44
43
with :
53
52
with :
54
53
add : ' .'
55
54
github_token : ${{ steps.app-token.outputs.token || secrets.GITHUB_TOKEN }}
56
- message : ' chore(skip-ci): remove changesets zip files'
55
+ message : ' chore: remove changesets zip files'
56
+ push : ' false'
57
+
58
+ - name : Create Pull Request
59
+ uses : peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c
60
+ with :
61
+ title : ' Remove changesets zip after release ${{ github.event.release.tag_name }}'
62
+ token : ${{ steps.app-token.outputs.token || secrets.GITHUB_TOKEN }}
63
+ branch : chore/remove-changesets-zip-${{ github.event.release.tag_name }}
You can’t perform that action at this time.
0 commit comments