File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 5252 uses : actions/checkout@v3
5353 with :
5454 fetch-depth : 0
55- token : " ${{ secrets.GITHUB_TOKEN }}"
5655 - id : cz
5756 name : Create bump and changelog
5857 uses : commitizen-tools/commitizen-action@master
59- with :
60- github_token : ${{ secrets.GITHUB_TOKEN }}
6158 - name : Print Version
6259 run : echo "Bumped to version ${{ steps.cz.outputs.version }}"
6360` ` `
6663
6764| Name | Description | Default |
6865| ------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------- |
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 }}` |
7067| `dry_run` | Run without creating commit, output to stdout | false |
7168| `repository` | Repository name to push. Default or empty value represents current github repository | current one |
7269| `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:
4444 github_token :
4545 description : ' Token for the repo. Can be passed in using $\{{ secrets.GITHUB_TOKEN }}'
4646 required : false
47+ default : ${{ github.token }}
4748 repository :
4849 description : ' Repository name to push. Default or empty value represents current github repository (${GITHUB_REPOSITORY})'
4950 default : ' '
You can’t perform that action at this time.
0 commit comments