File tree 1 file changed +10
-3
lines changed
1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change 55
55
yarn
56
56
yarn lint
57
57
58
- semantic- release :
59
- name : Semantic release
58
+ release :
59
+ name : Release
60
60
runs-on : ubuntu-latest
61
61
needs : [test, lint]
62
62
if : ${{ (github.ref == 'refs/heads/main') && (contains(fromJSON('["workflow_dispatch", "schedule"]'), github.event_name)) }}
67
67
pull-requests : write
68
68
69
69
steps :
70
+ - name : Create GitHub App token 🔑
71
+ id : create-app-token
72
+ uses : tibdex/github-app-token@v2.1.0
73
+ with :
74
+ app_id : ${{ secrets.GH_APP_ID }}
75
+ private_key : ${{ secrets.GH_APP_PRIVATE_KEY }}
76
+
70
77
- name : Checkout 🛎️
71
78
uses : actions/checkout@v4
72
79
with :
88
95
- name : Release 🚀
89
96
run : npx semantic-release
90
97
env :
91
- GITHUB_TOKEN : ${{ secrets.PAT }}
98
+ GITHUB_TOKEN : ${{ steps.create-app-token.outputs.token }}
92
99
NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments