You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe this could work with an override of the GITHUB_EVENT_NAME, but this can not be done through env variables, so it would be great to have an input to override the event type (so for closed PRs on the default branch it can be overriden) something like:
It would be even better if this was handled without needing to pass input overrides, but the input can give us a way to test a bit before it is handled by default. Worth note that I also tried setting git-branch: 'main' with no luck (I think branch is being picked up correctly through GITHUB_REF).
In the meantime we will have to have duplicate workflows with the different event type just to upload coverage, which isn't ideal. Please let me know if you need any more info.
The text was updated successfully, but these errors were encountered:
Currently base branch reporting requires a
push
event type. A number of workflows that our team has use thepull_request: closed
event like so:I believe this could work with an override of the
GITHUB_EVENT_NAME
, but this can not be done through env variables, so it would be great to have an input to override the event type (so for closed PRs on the default branch it can be overriden) something like:That way the setting of CI_PULL_REQUEST can be skipped.
It would be even better if this was handled without needing to pass input overrides, but the input can give us a way to test a bit before it is handled by default. Worth note that I also tried setting
git-branch: 'main'
with no luck (I think branch is being picked up correctly through GITHUB_REF).In the meantime we will have to have duplicate workflows with the different event type just to upload coverage, which isn't ideal. Please let me know if you need any more info.
The text was updated successfully, but these errors were encountered: