Title: Actor of pushing to branch should be configurable · Issue #55 · commitizen-tools/commitizen-action · GitHub
Open Graph Title: Actor of pushing to branch should be configurable · Issue #55 · commitizen-tools/commitizen-action
X Title: Actor of pushing to branch should be configurable · Issue #55 · commitizen-tools/commitizen-action
Description: Hi, thanks for this action! I think there is a problem when the PAT used in the token belongs to one user and the actual commit actor are different which causes errors during pushing of bump commit and tag. So if the PAT in the workflow ...
Open Graph Description: Hi, thanks for this action! I think there is a problem when the PAT used in the token belongs to one user and the actual commit actor are different which causes errors during pushing of bump commit...
X Description: Hi, thanks for this action! I think there is a problem when the PAT used in the token belongs to one user and the actual commit actor are different which causes errors during pushing of bump commit...
Opengraph URL: https://github.com/commitizen-tools/commitizen-action/issues/55
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Actor of pushing to branch should be configurable","articleBody":"Hi,\r\n\r\nthanks for this action!\r\nI think there is a problem when the PAT used in the token belongs to one user and the actual commit actor are different which causes errors during pushing of bump commit and tag. \r\nSo if the PAT in the workflow belongs to a bot user A and the actual commit happens from a human user B then if I understand correctly the url in [entrypoint.sh](https://github.com/commitizen-tools/commitizen-action/blob/c17388147d9db38c9eb6690f07b51d18d474162e/entrypoint.sh#L91) will try to authenticate user B with token from A and this will cause a failure in pushing.\r\n\r\nI think an input configuring the actual user in this url (defaulting to actor) should suffice. I can also create a PR for this if this solution makes sense!\r\n\r\nThanks!","author":{"url":"https://github.com/lleontop","@type":"Person","name":"lleontop"},"datePublished":"2023-02-03T16:54:25.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/55/commitizen-action/issues/55"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0b6769e7-2b3f-bf2e-e42c-806ba151dac6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A146:86FCD:363919D:46A01FD:6992CAC8 |
| html-safe-nonce | 0a6ed41f22543e7a43a6a28d00832c711971a26dc41a77c9d0c221750e17ed84 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMTQ2Ojg2RkNEOjM2MzkxOUQ6NDZBMDFGRDo2OTkyQ0FDOCIsInZpc2l0b3JfaWQiOiI4ODU5NzQzNjM5MjAzMjEyMjQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 283238a575236a664bf46643b66db1af6e39de6511c49b6a0ce468a172a6e437 |
| hovercard-subject-tag | issue:1570141259 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/commitizen-tools/commitizen-action/55/issue_layout |
| twitter:image | https://opengraph.githubassets.com/63961ebc3034ef112acdb5ca458d55ee5d36e08e25404b6d353348850ac470db/commitizen-tools/commitizen-action/issues/55 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/63961ebc3034ef112acdb5ca458d55ee5d36e08e25404b6d353348850ac470db/commitizen-tools/commitizen-action/issues/55 |
| og:image:alt | Hi, thanks for this action! I think there is a problem when the PAT used in the token belongs to one user and the actual commit actor are different which causes errors during pushing of bump commit... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | lleontop |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/commitizen-tools/commitizen-action git https://github.com/commitizen-tools/commitizen-action.git |
| octolytics-dimension-user_id | 62252524 |
| octolytics-dimension-user_login | commitizen-tools |
| octolytics-dimension-repository_id | 287308634 |
| octolytics-dimension-repository_nwo | commitizen-tools/commitizen-action |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 287308634 |
| octolytics-dimension-repository_network_root_nwo | commitizen-tools/commitizen-action |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 84dcb133269e3cfe6e0296cc85fbacb92cae92bb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width