Skip to content

Commit 645a5ab

Browse files
Update readme to ignore markdown generated by bots (#60)
* Update readme to ignore markdown generated by bots * Simplify workflow condition for accessibility bot
1 parent bd419f1 commit 645a5ab

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/test-accessibility-alt-text-bot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
accessibility_alt_text_bot:
1616
name: Check alt text is set on issue or pull requests
1717
runs-on: ubuntu-latest
18-
if: ${{ github.event.issue || github.event.pull_request || github.event.discussion && github.event.comment.user.login != 'accessibility-bot' }}
18+
if: ${{ !endsWith(github.actor, '[bot]') }}
1919
steps:
2020
- name: Check alt text
2121
uses: github/accessibility-alt-text-bot@main

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ permissions:
5050
jobs:
5151
accessibility_alt_text_bot:
5252
name: Check alt text is set on issue or pull requests
53+
if: ${{ !endsWith(github.actor, '[bot]') }}
5354
runs-on: ubuntu-latest
5455
steps:
5556
- name: Get action 'github/accessibility-alt-text-bot'

0 commit comments

Comments
 (0)