Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

post_comment wrong-PR reproduction

Minimal reproduction for python-coverage-comment-action v4.1 (5d8df5979747514c914e1c5a12335a7cf9a2745f).

Two pull requests share the repro head branch:

  • PR #1 targets main.
  • PR #2 targets alternate.

On each pull_request, Produce artifact writes the event's PR number to an artifact. Post artifact is triggered automatically by workflow_run and passes ${{ github.event.workflow_run.id }} to the action. The main artifact is delayed so it posts last.

Expected: PR #1's artifact is posted to PR #1.

Actual: the action resolves the run to KSmanis/repro, selects PR #2 by head branch, and posts Generated for PR #1 there.

About

Minimal reproduction of python-coverage-comment-action targeting the wrong PR

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors