commitizen-action icon indicating copy to clipboard operation
commitizen-action copied to clipboard

feat: use github token by default

Open nikaro opened this issue 1 year ago • 2 comments

Set ${{ github.token }} as the default value for github_token input. This is the common practice, examples:

  • https://github.com/actions/checkout/blob/main/action.yml#L24
  • https://github.com/astral-sh/setup-uv/pull/61

nikaro avatar Sep 22 '24 07:09 nikaro

Hi, if you use the github token, other actions are not triggered. Do you know if this has been solved?

See the warning: https://commitizen-tools.github.io/commitizen/tutorials/github_actions/#automatic-bumping-of-version

woile avatar Sep 22 '24 09:09 woile

Hi, if you use the github token, other actions are not triggered. Do you know if this has been solved?

See the warning: https://commitizen-tools.github.io/commitizen/tutorials/github_actions/#automatic-bumping-of-version

Yes i know, this is intended to work this way so i do not think it will be "solved".

But at least it allows to push the tags without having to explicitly pass the default token (making it a little less verbose), which is enough if we do not want to trigger a workflow on tag, at least my use cases do not need it. And for those who need it, it is documented in your link (i did not touched this part of the README).

nikaro avatar Sep 22 '24 11:09 nikaro

It's been almost one year. I'm closing it.

nikaro avatar Jun 24 '25 11:06 nikaro