Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Fix path filter in reporter workflow #4654

Merged
merged 1 commit into from
Feb 12, 2025
Merged

Conversation

rschristian
Copy link
Member

Tiny bug in our reporter action.

When not triggered by a pull_request event, the path filter defaults to always comparing against the main branch (main for us). We needed to manually hook up the base reference else, as #4653 shows, it'll compare the head commit against main and therefore start to report when it shouldn't.

ref is changed just to keep it aligned format-wise, .head_sha is the same whether you grab it as we were or pulling it out of the PR data.

@rschristian rschristian merged commit 2e85690 into main Feb 12, 2025
6 checks passed
@rschristian rschristian deleted the ci/reporter-filter branch February 12, 2025 04:43
@coveralls
Copy link

Coverage Status

coverage: 99.618%. first build
when pulling d61b138 on ci/reporter-filter
into 52735c8 on main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants