Skip to content

Commit c6a525f

Browse files
committed
Update workflow for this repo
1 parent 556beed commit c6a525f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,14 @@ on:
66
types: [opened, edited]
77
issue_comment:
88
types: [created, edited]
9+
discussion:
10+
types: [created, edited]
911

1012
jobs:
1113
accessibility_alt_text_bot:
1214
name: Check alt text is set on issue or pull requests
1315
runs-on: ubuntu-latest
14-
if: ${{ github.event.issue || github.event.pull_request && github.event.comment.user.login != 'accessibility-bot' }}
16+
if: ${{ github.event.issue || github.event.pull_request || github.event.discussion && github.event.comment.user.login != 'accessibility-bot' }}
1517
steps:
1618
- name: Check alt text
1719
uses: github/accessibility-alt-text-bot@main

0 commit comments

Comments
 (0)