Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Copy this workflow into any repo you want the `accessibility-alt-text-bot` to ru

```yml
name: Accessibility-alt-text-bot
on:
on:
issues:
types: [opened, edited]
pull_request:
Expand All @@ -46,15 +46,15 @@ permissions:
issues: write
pull-requests: write
discussions: write

jobs:
accessibility_alt_text_bot:
name: Check alt text is set on issue or pull requests
if: ${{ !endsWith(github.actor, '[bot]') }}
runs-on: ubuntu-latest
steps:
- name: Get action 'github/accessibility-alt-text-bot'
uses: github/accessibility-alt-text-bot@v1.7.1 # Set to latest
uses: github/accessibility-alt-text-bot@v1.7.2 # Set to latest
```

### Pin the action's version for stability
Expand All @@ -63,7 +63,7 @@ We recommend you pin the action to a specific version.
This makes sure you stay on a stable version of this action.

```yml
uses: github/accessibility-alt-text-bot@v1.7.1
uses: github/accessibility-alt-text-bot@v1.7.2
```

Replace the ref value with any commit hash.
Expand All @@ -80,7 +80,7 @@ If you would like to include more linting rules from the [markdownlint](https://
```yml
steps:
- name: Check alt text
uses: github/accessibility-alt-text-bot@v1.7.1
uses: github/accessibility-alt-text-bot@v1.7.2
with:
config: |
no-default-alt-text: true,
Expand Down