diff --git a/.github/workflows/accessibility-alt-text-bot.yml b/.github/workflows/accessibility-alt-text-bot.yml index b71565494bb..366229e8c28 100644 --- a/.github/workflows/accessibility-alt-text-bot.yml +++ b/.github/workflows/accessibility-alt-text-bot.yml @@ -6,12 +6,19 @@ on: types: [opened, edited] issue_comment: types: [created, edited] + discussion: + types: [created, edited] + +permissions: + issues: write + pull-requests: write + discussions: write 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 }} + if: ${{ github.event.issue || github.event.pull_request || github.event.discussion }} steps: - name: Get action 'github/accessibility-alt-text-bot' - uses: github/accessibility-alt-text-bot@v1.0.0 + uses: github/accessibility-alt-text-bot@v1.1.0