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

[bots] Checking for approved workflow runs: handle all runs being startup failure #6329

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

clee2000
Copy link
Contributor

@clee2000 clee2000 commented Feb 24, 2025

If all the runs are startup failure, the function would return true. However, this can hide the need for those runs to be approved. This might result in runs being rejected when they shouldn't, but I doubt an actual PR is going to mangle workflows and still want CI

Example: pytorch/pytorch#147774

(I am hash update bot, its a poorly named account since I was originally going to use for something else and was the fasted account I could get right now to test this)

Copy link

vercel bot commented Feb 24, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
torchci ✅ Ready (Inspect) Visit Preview Feb 24, 2025 11:23pm

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Feb 24, 2025
@clee2000 clee2000 marked this pull request as ready for review February 24, 2025 23:20
@clee2000 clee2000 requested a review from a team February 24, 2025 23:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants