Skip to content

Conversation

@trallard
Copy link
Collaborator

@trallard trallard commented Jun 12, 2024

It seems the coverage comment workflow was not being triggered due to a lack of context regarding the original workflow trigger event.

This change should ensure that it accesses the correct context only when the trigger workflow has been completed successfully.

@trallard trallard added kind: bug Something isn't working tag: CI Pull requests that update GitHub Actions code labels Jun 12, 2024
@Carreau
Copy link
Collaborator

Carreau commented Jun 13, 2024

And let's try to see if that fixes things.

@Carreau Carreau merged commit 80d4f30 into pydata:main Jun 13, 2024
@trallard
Copy link
Collaborator Author

Woops I did not finish this because I got sidetracked with the pre-commit thing.
Will come back and clean what is still not working next week.

@trallard trallard deleted the trallard/fix-coverage-comment branch June 25, 2024 10:39
Carreau pushed a commit that referenced this pull request Jun 27, 2024
I tried to fix this workflow in #1879, but the main CI workflow must
first trigger the coverage comment workflow.

🎉  Right, this did it, and the comment is working as expected.
I am not super thrilled with the badges' colours, as they have poor
contrast (background/text colours), so I might open a PR against the
action itself to fix this.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind: bug Something isn't working tag: CI Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants