📝 Docs: Suggest filtering out bots #134
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Accessibility-alt-text-bot | |
on: | |
issues: | |
types: [opened, edited] | |
pull_request: | |
types: [opened, edited] | |
issue_comment: | |
types: [created, edited] | |
discussion: | |
types: [created, edited] | |
discussion_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.discussion && github.event.comment.user.login != 'accessibility-bot' }} | |
steps: | |
- name: Check alt text | |
uses: github/accessibility-alt-text-bot@main |