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

Multiple action runs shown in PR checks #250

Open
DaveSkender opened this issue Jan 18, 2024 · 3 comments
Open

Multiple action runs shown in PR checks #250

DaveSkender opened this issue Jan 18, 2024 · 3 comments

Comments

@DaveSkender
Copy link

DaveSkender commented Jan 18, 2024

Describe the bug

This doesn’t smell right:
image

Source PR: facioquo/stock-indicators-python#342
Source Action: https://github.com/DaveSkender/Stock.Indicators.Python/blob/150ea5582bdc79555d8acc8a437a18caad4bbd7d/.github/workflows/semantic-pr-linter.yml

Note: we are using a matrix build, but those are defined separately. Should I try to set some concurrency setting?

Expected behavior

One latest entry in the PR “Checks” list, like any other re-run actions.

@tysonnero-ccm
Copy link

@DaveSkender Did you figure this out. I am experiencing the same issue.

@DaveSkender
Copy link
Author

@DaveSkender Did you figure this out. I am experiencing the same issue.

I can’t see exactly what I did to fix this. It may have been a transient glitch with the runner, but am not sure. I did update the tooling action versions. Here my latest version, that works well, for reference: lint-pull-request.yml

@DaveSkender
Copy link
Author

DaveSkender commented May 2, 2024

I took a closer look, and think the multiple action runs was somehow related to my core build action (keeping in mind that this action was separate) was using a matrixed runner that was reporting back to the PR for each instance; further triggering this action redundantly for pull_request_target.

I believe my workaround fix was to limit code coverage reporting to only one primary matrix instance.

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

No branches or pull requests

2 participants