Is there a way to use the bot name on GitHub action

Description

Is there a way to avoid using the named users in the email sent by codecov with the detailed coverage numbers?

using the step documented below.

Repository

private

CI/CD

GitHub action:

Uploader

bash uploader

- name: Upload coverage to Codecov
  uses: codecov/codecov-action@v1
  with:
    token: ${{ secrets.CODECOV_TOKEN }}
    flags: unit_tests

Commit SHAs

Please include the commit SHA(s)

Codecov YAML

using coverall.json file:
{
“skip_files”: [
“test/support/*”,
“lib/porigon_web/views/error_helpers.ex”
]
}

Codecov Output

==> Appending adjustments

No adjustments found
==> Gzipping contents
==> Uploading reports
url: https://codecov.io
query: branch=codecov-exclude&commit=9aa1745ffaca4dc2e8af9cbec35239bf6a4a311c&build=186340256&build_url=http%3A%2F%2Fgithub.com%2Fprojectronin%2Fporigon%2Factions%2Fruns%2F186340256&name=&tag=&slug=projectronin%2Fporigon&service=github-actions&flags=unit_tests&pr=70&job=&cmd_args=n,F
Pinging Codecov
Uploading to
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0
100 5226 0 0 100 5226 0 25492 --:–:-- --:–:-- --:–:-- 25492
→ View reports at Codecov

Additional Information

Any additional information, configuration or data that might be necessary to reproduce the issue.

Hi @erajkovic, it should be sending over as the codecov[bot]. Can you use the GitHub integration if you are not already, and can you screenshot what the email looks like?

Re-sending with only one image …


The code I am using for the GitHub action is

  • name: Upload coverage to Codecov
    uses: codecov/codecov-action@v1
    with:
    token: ${{ secrets.CODECOV_TOKEN }}
    flags: unit_tests

Hi @erajkovic, could you send a SHA of the commit or the pull request number that is running the GitHub action in the above screenshot? I can try to dig into this more, but I have a suspicion this is coming from the GitHub side of things as we do not send the email ourselves.

Hi Tom,

Wondering if this is the info you are looking for:
https://codecov.io/gh/projectronin/porigon/commit/ab83c225f25c079bd10ce11f2029c94ca9f7e958&el=desc

The other question I had was about the process to delete an old repository - we don’t use tachi and this is dead code I could remove from our report I get at https://codecov.io/gh/projectronin/

Thanks,
-Eric

Hi @erajkovic, unfortunately, I don’t think it’s possible to change the name via GitHub actions, this looks to be on the GitHub side.

As for tachi, you should be able to get an admin to remove by going to the settings page of that repository.

Thanks, will try to figure out this later once we have multiple repo setup.

1 Like