Skip to content

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

Closed
@JoshuaKGoldberg

Description

@JoshuaKGoldberg

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    accepting prsGo ahead, send a pull request that resolves this issuerepo maintenancethings to do with maintenance of the repo, and not with code/docs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions