Skip to content

Commit

Permalink
Simplify workflow condition for accessibility bot
Browse files Browse the repository at this point in the history
  • Loading branch information
kendallgassner authored Jan 7, 2025
1 parent 77154e5 commit 674e47c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test-accessibility-alt-text-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ 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' }} && ${{ !endsWith(github.actor, '[bot]') }}
if: ${{ !endsWith(github.actor, '[bot]') }}
steps:
- name: Check alt text
uses: github/accessibility-alt-text-bot@main
Expand Down

0 comments on commit 674e47c

Please sign in to comment.