File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -19,11 +19,18 @@ jobs:
19
19
dist_artifacts_dir : dist
20
20
lock_file_artifact : uv.lock
21
21
steps :
22
+ - name : Create GitHub App Token
23
+ uses : actions/create-github-app-token@v2
24
+ id : app-token
25
+ with :
26
+ app-id : ${{ secrets.APP_ID }}
27
+ private-key : ${{ secrets.APP_PRIVATE_KEY }}
28
+
22
29
- name : Check out repository
23
30
uses : actions/checkout@v5
24
31
with :
25
32
ref : ${{ github.ref }}
26
- token : ${{ secrets.GITHUB_TOKEN }}
33
+ token : ${{ steps.app-token.outputs.token }}
27
34
fetch-depth : 0
28
35
29
36
- name : Configure Git user
49
56
id : release
50
57
uses : python-semantic-release/python-semantic-release@v10.4.1
51
58
with :
52
- github_token : ${{ secrets.GITHUB_TOKEN }}
59
+ github_token : ${{ steps.app-token.outputs.token }}
53
60
git_committer_name : " github-actions"
54
61
git_committer_email : " actions@users.noreply.github.com"
55
62
changelog : true
59
66
uses : python-semantic-release/publish-action@v10.4.1
60
67
if : steps.release.outputs.released == 'true'
61
68
with :
62
- github_token : ${{ secrets.GITHUB_TOKEN }}
69
+ github_token : ${{ steps.app-token.outputs.token }}
63
70
tag : ${{ steps.release.outputs.tag }}
64
71
65
72
- name : Upload | Distribution Artifacts
You can’t perform that action at this time.
0 commit comments