-
-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When the bot creates a pull request, it'll be listed as author on the commit. Can that change? #360
Comments
Hi @nhoening 😄 The behaviour you describe has been mentioned by others (for example see this discussion) but unfortunately I haven't found a solution. Just for my understanding: are you using the CIB App or GitHub Action? If you know of a way to do this (or know of any Apps/Actions that do this correctly) let me know! |
Thanks for replying. I'm using the app I believe. |
Hey there, sorry for being so late. Hope this is helpful anyway. I've found out that by using your PAT (Personal Access Token) instead of the GITHUB_TOKEN, you can perform workflow operations assigned to your user. If you are working with a team, you could always set up multiple secrets with PATs for each team member, labeled, of course and then use conditional statements depending on the issue assignee to use the correct token for workflow operations. This is a questionable procedure, given that every user would have to provide with a PAT (which some users might not like to do) and since GitHub disencourages this procedure for potential security risks. However, with brand-new fine-grained tokens this should not pose a big risk. |
Hi @erlete 👋 The issue is still open so never too late for a proposed solution 😉 Fine-grained access tokens would indeed be a way for the GH Action to impersonate users. |
|
I love the
openDraftPR
feature ― thanks :)However, I would prefer that the Github user who is assigned to the ticket (which originally led to the new branch and PR) would be the one listed as the author of the merge commit, and not
create-issue-branch [bot]
.The text was updated successfully, but these errors were encountered: