Skip to content

Commit 77154e5

Browse files
Update readme to ignore markdown generated by bots
1 parent bd419f1 commit 77154e5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

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

+1-1
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: ${{ github.event.issue || github.event.pull_request || github.event.discussion && github.event.comment.user.login != 'accessibility-bot' }} && ${{ !endsWith(github.actor, '[bot]') }}
1919
steps:
2020
- name: Check alt text
2121
uses: github/accessibility-alt-text-bot@main

README.md

+1
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)