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

remove pull_request:edited trigger from most workflows #9072

Merged
merged 1 commit into from
Apr 15, 2023

Conversation

chris48s
Copy link
Member

When we have a lot of dependabot PRs to review, sometimes we use all our rate limit up and stuff starts failing.

I think one of the issues causing this is that because we trigger a build on pull_request:edited, as soon as dependabot edits the top post of a PR to say "dependabot is rebasing this PR", all the builds unnecessarily re-trigger. Then they retrigger again on pull_request:synchronize when it force-pushes the branch.

This PR removes the pull_request:edited trigger from most of the workflows. I've left it on the service tests because its quite useful that editing the PR title re-runs those.

Hopefully this should reduce the number of builds we run a bit and make it a bit easier to stay under the rate limit.

@chris48s chris48s added the developer-experience Dev tooling, test framework, and CI label Apr 10, 2023
@github-actions
Copy link
Contributor

Messages
📖 ✨ Thanks for your contribution to Shields, @chris48s!

Generated by 🚫 dangerJS against 8129cc3

@chris48s
Copy link
Member Author

going to merge this one and see if it helps as I bash through this week's dependabot PRs

@chris48s chris48s merged commit ef8498b into badges:master Apr 15, 2023
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
developer-experience Dev tooling, test framework, and CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant