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
| `working_directory` | Change to this directory before running | repo root directory |
71
68
| `dry_run` | Run without creating commit, output to stdout | false |
72
69
| `repository` | Repository name to push. Default or empty value represents current github repository | current one |
Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ inputs:
47
47
github_token :
48
48
description : ' Token for the repo. Can be passed in using $\{{ secrets.GITHUB_TOKEN }}'
49
49
required : false
50
+ default : ${{ github.token }}
50
51
repository :
51
52
description : " Repository name to push. Default or empty value represents current github repository (${GITHUB_REPOSITORY})"
52
53
default : " "
You can’t perform that action at this time.
0 commit comments