Skip to content

Commit

Permalink
Update readme to ignore markdown generated by bots
Browse files Browse the repository at this point in the history
  • Loading branch information
kendallgassner committed Jan 7, 2025
1 parent bd419f1 commit 77154e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions 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' }}
if: ${{ github.event.issue || github.event.pull_request || github.event.discussion && github.event.comment.user.login != 'accessibility-bot' }} && ${{ !endsWith(github.actor, '[bot]') }}

Check failure

Code scanning / CodeQL

If expression always true High test

Expression always evaluates to true
steps:
- name: Check alt text
uses: github/accessibility-alt-text-bot@main
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ permissions:
jobs:
accessibility_alt_text_bot:
name: Check alt text is set on issue or pull requests
if: ${{ !endsWith(github.actor, '[bot]') }}
runs-on: ubuntu-latest
steps:
- name: Get action 'github/accessibility-alt-text-bot'
Expand Down

0 comments on commit 77154e5

Please sign in to comment.