File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 1
1
name : Release
2
2
on :
3
3
workflow_dispatch :
4
+ inputs :
5
+ dry-run :
6
+ type : boolean
7
+ description : Dry Run
8
+ default : false
9
+ required : false
4
10
push :
5
11
branches :
6
12
- main
@@ -17,20 +23,20 @@ jobs:
17
23
steps :
18
24
- name : Create GitHub App Token
19
25
id : app-token
20
- uses : actions/create-github-app-token@v1
26
+ uses : actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1.11.0
21
27
with :
22
28
app-id : ${{ secrets.APP_ID }}
23
29
private-key : ${{ secrets.APP_PRIVATE_KEY }}
24
30
- name : Checkout repository
25
31
uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
26
32
with :
27
- persist-credentials : false
28
33
token : ${{ steps.app-token.outputs.token }}
29
34
- name : Semantic Release
30
35
uses : cycjimmy/semantic-release-action@cb425203a562475bca039ba4dbf90c7f9ac790f4 # v4.1.0
31
36
env :
32
37
GITHUB_TOKEN : ${{ steps.app-token.outputs.token }}
33
38
with :
39
+ dry_run : " ${{ inputs.dry-run }}"
34
40
semantic_version : 24.1.1
35
41
extra_plugins : |
36
42
- conventional-changelog-conventionalcommits@8.0.0
You can’t perform that action at this time.
0 commit comments