wearerequired / lint-action

✨ GitHub Action for detecting and auto-fixing lint errors
MIT License
569 stars 137 forks source link

Check results appear on the wrong workflow #577

Closed zirkelc closed 1 year ago

zirkelc commented 1 year ago

I noticed that the check result from my lint.yml workflow appear on another workflow file, in this case unit-tests.yml:

2023-01-15_18-59-38

2023-01-15_19-02-11

I expected the results to appear as Lint / ESLint and Lint / TypeScript. Somehow, when the check run is being created it picks the wrong workflow run?

ocean90 commented 1 year ago

Hi there, this is an issue with how the GitHub checks API works. Checks are attached to commit SHAs and the annotations are added to latest workflow run for the commit being tested. This is nothing this action can fix.

Duplicate of #401, #280, #97, #93.