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

Skip dependabot PRs #11

Merged
merged 2 commits into from
Mar 29, 2023
Merged

Skip dependabot PRs #11

merged 2 commits into from
Mar 29, 2023

Conversation

ashfurrow
Copy link
Contributor

Dependabot PRs have always caused a promise rejection from the GitHub API due to permission issues. However, those rejections have been silently ignored until we upgraded to node 16, when they started failing. We reverted the upgrade in #10 to unblock teams using the tool.

This PR adds logic to skip processing PRs from Dependabot. It also re-applies the node 16 upgrade.

Once merged, I have a previous Dependabot run that succeeded because of node silently accepting the rejected promise. I will re-run it (from same execution context, eg the actor is still Dependabot) and it should continue to succeed and log the skip.

@ashfurrow
Copy link
Contributor Author

Okay, going to merge 🤞

@ashfurrow ashfurrow merged commit 7cab3e5 into main Mar 29, 2023
@ashfurrow ashfurrow deleted the bugfix/skip-dependabot-prs branch March 29, 2023 13:45
@ashfurrow
Copy link
Contributor Author

Okay! That succeeded:

Skipping dependabot PR

I'm going to call this a win 🙌

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

Successfully merging this pull request may close these issues.

None yet

2 participants