-
Notifications
You must be signed in to change notification settings - Fork 35
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
Changes for SCC24 #18
Changes for SCC24 #18
Conversation
…f-inference-results-scc24
Results on system test
MLCommons CLA bot: |
Hi folks, there are some commits under the name "admin", meaning that one of the users didn't set up their |
Hi Bruno,
This happened because we are using a github action to update some files. Is
there a bot MLCommons email address which we can use for such a purpose?
…On Wed, Sep 25, 2024 at 12:10 AM Bruno Ferreira ***@***.***> wrote:
Hi folks, there are some commits under the name "admin", meaning that one
of the users didn't set up their .git correctly for GitHub.
—
Reply to this email directly, view it on GitHub
<#18 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABER4D33ALGOZXRPLOP6QS3ZYHWQBAVCNFSM6AAAAABOZJOKGSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZSGU2DOMRRGA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Any authorized GitHub acount/token will do. Perhaps this is of help? https://github.com/orgs/community/discussions/25863 . We can create an account just for this, but at first sight it looks like it's not necessary? |
Thank you @morphine00 . I tried to use the GitHub bot account where the user is
|
Hi Arjun, in the short term you can have the commits in question authored by you using one of the methods described below, and that'll get you past the CLA bot.
(Options taken from ChatGPT, but it seems to make sense) A. Signed-off-by Workflow: Ensure that commits made by bots are properly attributed and approved by a human who has signed the licensing agreement. You can implement a "Signed-off-by" footer for each commit, which adds a verifiable trail of human oversight for bot commits. GitHub’s --signoff option can be used when creating commits via bots or CI tools. B. Co-Authored-by Commit Convention: For commits initiated by bots (such as through GitHub Actions), use the Co-authored-by convention, which allows for multiple authorship attribution. The bot can be listed as the primary author, but the team member who initiated or approved the action can be added as a co-author. This ties the commit back to a specific user who has signed the licensing agreement. |
Thank you @morphine00 . I'll take care of updating the commits in this PR. But in all CM related repositories we do need a bot to automatically update the README files and also in the inference results repository (during the review period) to update the results summary via github actions. Do you think this |
Hey @arjunsuresh, following up on this; is there still a need for a bot account for CM? Is your intention to have the bot make commits, open a PR, then have the PR approved and merged, as is this case in this PR, or are you looking to make direct commits to main/master as we've done with the deploy keys? |
Hi @nathanw-mlc actually we are still in need of a bot github account for the below 2 use cases.
In both cases the bot account needs to do commit to the same repo and can be done using the deploy keys like we have done previously. But can we use a bot "userid" and "email" for this? |
@arjunsuresh, is your desire to have a bot userid and email to have the commits attributed to a particular bot account? When a workflow makes commits with a deploy, the commit is automatically attributed to the GitHub account that created the deploy key. We've been using the |
Great Nathan. That works for us. So we just need to do the below git config before doing the commit in the github action right?
|
Yes, that should work, and you only need to use the deploy key when you need to perform actions that need to bypass branch protections. |
Thanks a lot Nathan. That solves our problem 😊 |
Great, let me know if this solution gives you trouble or needs improvement. |
No description provided.