Skip to content

Repo: Prevent accessibility-alt-text-bot workflow when author is a bot #8205

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

Closed
JoshuaKGoldberg opened this issue Jan 6, 2024 · 0 comments · Fixed by #8212
Closed

Repo: Prevent accessibility-alt-text-bot workflow when author is a bot #8205

JoshuaKGoldberg opened this issue Jan 6, 2024 · 0 comments · Fixed by #8212
Labels
accepting prs Go ahead, send a pull request that resolves this issue repo maintenance things to do with maintenance of the repo, and not with code/docs

Comments

@JoshuaKGoldberg
Copy link
Member

JoshuaKGoldberg commented Jan 6, 2024

Suggestion

Idea & investigation courtesy of @JamesHenry. Paraphrasing informal Discord comments:

Screenshot of many GitHub Actions workflows for the accessibility alt text bot...

Screenshot of many GitHub Actions workflows for the accessibility alt text bot

Right now the Netlify bot is updating comments on open PRs whenever other PRs get merged. So the accessibility bot just floods our available jobs per the above screenshot - blocking much more valuable things from running at all.

I'd really only intended for the bot to make sure humans are posting alt text. Bot posts such as Netlify's are generally pretty consistent in whether they post alt text. We don't need to redundantly keep re-checking bots.

Let's change the accessibility-alt-text-bot workflow to only run if the author isn't a bot.

@JoshuaKGoldberg JoshuaKGoldberg added triage Waiting for team members to take a look repo maintenance things to do with maintenance of the repo, and not with code/docs accepting prs Go ahead, send a pull request that resolves this issue and removed triage Waiting for team members to take a look labels Jan 6, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
accepting prs Go ahead, send a pull request that resolves this issue repo maintenance things to do with maintenance of the repo, and not with code/docs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant