Skip to content

Commit

Permalink
Update readme to ignore markdown generated by bots (#60)
Browse files Browse the repository at this point in the history
* Update readme to ignore markdown generated by bots

* Simplify workflow condition for accessibility bot
  • Loading branch information
kendallgassner authored Jan 9, 2025
1 parent bd419f1 commit 645a5ab
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: ${{ !endsWith(github.actor, '[bot]') }}
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 645a5ab

Please sign in to comment.