Before submitting a topic, please confirm the following
I have read the Community board archiving section above.
I have searched for similar issues before creating this topic.
I have verified that my repository is using the Codecov GitHub app, if using GitHub
I have validated my codecov.yaml
configuration file.
I have filled out the below sections to the best of my ability.
I understand that the community boards are a free, best-effort tool. While we hope to have someone on the Codecov team resolve your problem quickly, this is not always possible.
Description
If merging code via merge --ff-only
, uploads are only associated with the pull request branch and never the merged branch, despite the branch name being provided explicitly.
CI/CD URL
Codecov Output
/home/runner/work/_actions/codecov/codecov-action/v3/dist/codecov -n -Q github-action-3.1.4 -B main -s /home/runner/work/_temp
[2023-08-17T14:21:04.815Z] ['info']
_____ _
/ ____| | |
| | ___ __| | ___ ___ _____ __
| | / _ \ / _` |/ _ \/ __/ _ \ \ / /
| |___| (_) | (_| | __/ (_| (_) \ V /
\_____\___/ \__,_|\___|\___\___/ \_/
Codecov report uploader 0.6.2
[2023-08-17T14:21:04.826Z] ['info'] => Project root located at: /home/runner/work/claircore/claircore
[2023-08-17T14:21:04.832Z] ['info'] -> No token specified or token is empty
[2023-08-17T14:21:04.843Z] ['info'] Searching for coverage files...
[2023-08-17T14:21:04.975Z] ['info'] Warning: Some files located via search were excluded from upload.
[2023-08-17T14:21:04.976Z] ['info'] If Codecov did not locate your files, please review https://docs.codecov.com/docs/supported-report-formats
[2023-08-17T14:21:04.976Z] ['info'] => Found 3 possible coverage files:
github.com_quay_claircore.codecov.out
github.com_quay_claircore_toolkit.codecov.out
github.com_quay_claircore_updater_driver.codecov.out
[2023-08-17T14:21:04.976Z] ['info'] Processing /home/runner/work/_temp/github.com_quay_claircore.codecov.out...
[2023-08-17T14:21:04.979Z] ['info'] Processing /home/runner/work/_temp/github.com_quay_claircore_toolkit.codecov.out...
[2023-08-17T14:21:04.980Z] ['info'] Processing /home/runner/work/_temp/github.com_quay_claircore_updater_driver.codecov.out...
[2023-08-17T14:21:04.997Z] ['info'] Detected GitHub Actions as the CI provider.
[2023-08-17T14:21:05.556Z] ['info'] Pinging Codecov: https://codecov.io/upload/v4?package=github-action-3.1.4-uploader-0.6.2&token=*******&branch=main&build=5891670694&build_url=https%3A%2F%2Fgithub.com%2Fquay%2Fclaircore%2Factions%2Fruns%2F5891670694&commit=db551599ccad0dda38e633fa9ed5ed6f34de4e09&job=CI&pr=&service=github-actions&slug=quay%2Fclaircore&name=&tag=&flags=&parent=
[2023-08-17T14:21:05.948Z] ['info'] https://app.codecov.io/github/quay/claircore/commit/db551599ccad0dda38e633fa9ed5ed6f34de4e09
https://storage.googleapis.com/codecov/v4/raw/2023-08-17/F0FA62131718B25D792A47ED72800761/db551599ccad0dda38e633fa9ed5ed6f34de4e09/e2c2b2de-9615-48df-80c9-e5c66e662f17.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230817%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230817T142105Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7a3c98f307195fd922055b5074c00c9d40238ae24cbba8c54919ccff057f56c4
[2023-08-17T14:21:05.950Z] ['info'] Uploading...
[2023-08-17T14:21:06.226Z] ['info'] {"status":"success","resultURL":"https://app.codecov.io/github/quay/claircore/commit/db551599ccad0dda38e633fa9ed5ed6f34de4e09"}
Expected Results
Commit db551599
is associated with branch main
.
Actual Results
Commit db551599
is not associated with branch main
.