An action to remind users to add alt text to their issue descriptions and comments.
Copy this workflow into any repo you want the accessibility-alt-text-bot to run in.
name: Test Accessibility-alt-text-bot
on:
issues:
types: [opened, edited]
pull_request:
types: [opened, edited]
issue_comment:
types: [created, edited]
jobs:
accessibility_alt_text_bot:
name: Check alt text is set on issue or pull requests
runs-on: ubuntu-latest
if: ${{ github.event.issue || github.event.pull_request && github.event.comment.user.login != 'accessibility-bot' }}
steps:
- name: Get private action 'github/accessibility-alt-text-bot'
uses: github/accessibility-alt-text-bot
To ensure you stay on a stable version of this action consider locking the action to a specific version.
uses: github/accessibility-alt-text-bot@4a94d0359143b44dab2e392616a02f88c30329df
Replace the ref value with any commit hash.
This project is licensed under the terms of the MIT open source license. Please refer to MIT for the full terms.
See CODEOWNERS
TODO: Be explicit about support expectations.
Please read Contributing Guide for more information.