question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature Request: Add `--user-email` and `--user-name` options to `cml ci`

See original GitHub issue

I know with cml pr it’s possible to add --user-email and --user-name, but is it possible to do this with cml ci so that new commits can come from an account that we specify rather than https://github.com/iterative-olivaw

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:2
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
casperdclcommented, Apr 11, 2022

or could also provide convenience automations with new flag(s):

  • --user-commit: name=git log -1 --pretty=format:'%an', email=git log -1 --pretty=format:'%ae'
  • --user: name=$GITHUB_ACTOR, email=$GITHUB_ACTOR@users.noreply.github.com (interesting quirks)
  • --user-driver: name=gh api user --jq .login, email=gh api user --jq .email

(not related to #841)

0reactions
ivyleavedtoadflaxcommented, Apr 20, 2022

🙏

Read more comments on GitHub >

github_iconTop Results From Across the Web

expose USER to whom CML reports belong · Issue #841 · iterative ...
I noticed that when CML produces the reports (as per in cml-send-comment ... Feature Request: Add --user-email and --user-name options to cml ci...
Read more >
How set git config username and email fields in global and ...
Anyone looking through the Git log needs the ability to see who squashed a commit, performed a branch rebase, merged some code, added...
Read more >
Using external secrets in CI - GitLab Docs
Secrets represent sensitive information your CI job needs to complete work. This sensitive information can be items like API tokens, database credentials, ...
Read more >
Git push error: does not match your user account
git config --global user.name "Your Name" git config --global user.email you@example.com. Then run this to edit the commit to reset the ...
Read more >
Change the author and committer name and e-mail of...
I put the settings for commit to "John <john@company.com>" and from time to ... CMD git config --global, etc. shows the correct user...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found