File tree 2 files changed +2
-4
lines changed
2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 52
52
uses : actions/checkout@v3
53
53
with :
54
54
fetch-depth : 0
55
- token : " ${{ secrets.GITHUB_TOKEN }}"
56
55
- id : cz
57
56
name : Create bump and changelog
58
57
uses : commitizen-tools/commitizen-action@master
59
- with :
60
- github_token : ${{ secrets.GITHUB_TOKEN }}
61
58
- name : Print Version
62
59
run : echo "Bumped to version ${{ steps.cz.outputs.version }}"
63
60
` ` `
66
63
67
64
| Name | Description | Default |
68
65
| ------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------- |
69
- | ` github_token` | Token for the repo. Can be passed in using `${{ secrets.GITHUB_TOKEN }}`. Required if `push: true` | - |
66
+ | ` github_token` | Token for the repo. Can be passed in using `${{ secrets.GITHUB_TOKEN }}` if your want to use a custom PAT | `${{ github.token }}` |
70
67
| `dry_run` | Run without creating commit, output to stdout | false |
71
68
| `repository` | Repository name to push. Default or empty value represents current github repository | current one |
72
69
| `branch` | Destination branch to push changes | Same as the one executing the action by default |
Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ inputs:
44
44
github_token :
45
45
description : ' Token for the repo. Can be passed in using $\{{ secrets.GITHUB_TOKEN }}'
46
46
required : false
47
+ default : ${{ github.token }}
47
48
repository :
48
49
description : ' Repository name to push. Default or empty value represents current github repository (${GITHUB_REPOSITORY})'
49
50
default : ' '
You can’t perform that action at this time.
0 commit comments