From 411c52ecb40c383e3d37328c789f3dd7fee00cf5 Mon Sep 17 00:00:00 2001 From: Kendall Gassner Date: Tue, 7 Jan 2025 14:07:39 -0800 Subject: [PATCH] Update accessibility-alt-text-bot.yml 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 1c23575824..28889550b6 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