-
Notifications
You must be signed in to change notification settings - Fork 67
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
Request: Check PR Author Instead of Action Actor #112
Comments
I'm running into this as well, I think it's more logical to just look at the PR author. @jackson-miller-tbol Have you looked into this any further yet? |
I'm running into this as well - pushing changes to the branch triggers the actions to rerun, but since I pushed the changes, I'm the actor instead of dependabot. Getting the error message |
closes issue dependabot#112
closes issue dependabot#112
closes issue dependabot#112
fetch-metadata/src/dependabot/verified_commits.ts
Lines 20 to 24 in ffa0846
The above code seems to check whether or not the Actions actor is Dependabot and avoids calling the API if the actor isn't Dependabot. Can we consider checking the PR author instead of/in addition to the actor? The reason I ask for this is that there are times where I need to re-run the action and I don't want to have to get dependabot to recreate the PR via
@dependabot recreate
, since that takes more time.The author is available in the PR event data and I'm able to access it in actions yml using
github.event.pull_request.user.login
Happy to open a PR for this if desired
The text was updated successfully, but these errors were encountered: