From ae648890e4a311ee789f8fcead59d638734324a2 Mon Sep 17 00:00:00 2001 From: Kendall Gassner Date: Tue, 7 Jan 2025 14:15:56 -0800 Subject: [PATCH] Update accessibility-alt-text-bot.yml (#5503) Update our accessibility-alt-text-bot to get: - delete alt-text-bot comment when there are no longer errors - edit existing alt-text-bot comments when the error message changes - more descriptive alt-text-bot message --- .github/workflows/accessibility-alt-text-bot.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/accessibility-alt-text-bot.yml b/.github/workflows/accessibility-alt-text-bot.yml index ddd00330306..2af59fadcdc 100644 --- a/.github/workflows/accessibility-alt-text-bot.yml +++ b/.github/workflows/accessibility-alt-text-bot.yml @@ -5,9 +5,11 @@ on: pull_request: types: [opened, edited] issue_comment: - types: [created, edited] + types: [created, edited, deleted] discussion: types: [created, edited] + discussion_comment: + types: [created, edited, deleted] permissions: issues: write @@ -21,4 +23,4 @@ jobs: 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.5.0 + uses: github/accessibility-alt-text-bot@v1.6.0