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
Thanks for reporting; technically you're right, but is there a case where there is actual difference between the two, given that its intended use case is when github.event_name == 'pull_request_target' && github.event.action == 'opened'?
Well, its intended use case is not documented and as this is a public repository anyone can include this action in their workflows like I did. It didn't play well in our approach where we would like to run our checks on 'opened', 'reopened' and 'synchronize'
Also if it is only ran on 'opened', doesn't it mean that one can just reopen the repo to walk around the PR limit?
I can open a PR with the fix if you agree it is a potential bug
github.context.actor
is the initiator of the workflow. To get the original author of the PRgithub.context.payload.user.login
should be user. Please refer to https://github.com/orgs/community/discussions/25502.@ZhongRuoyu
The text was updated successfully, but these errors were encountered: