diff --git a/README.md b/README.md index b0d29b3..456c400 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Get action 'github/accessibility-alt-text-bot' - uses: github/accessibility-alt-text-bot@v1.6.0 # Set to latest + uses: github/accessibility-alt-text-bot@v1.7.1 # Set to latest ``` ### Pin the action's version for stability @@ -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.6.0 + uses: github/accessibility-alt-text-bot@v1.7.1 ``` Replace the ref value with any commit hash. @@ -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.6.0 + uses: github/accessibility-alt-text-bot@v1.7.1 with: config: | no-default-alt-text: true, diff --git a/action.yml b/action.yml index 91a3a5a..7b2b3cb 100644 --- a/action.yml +++ b/action.yml @@ -68,14 +68,18 @@ runs: flag=$(node ${{ github.action_path }}/src/index.js "$content" "$CONFIG") - custom_config_message="
Uh oh! @$user, your markdown has a few linting errors. Check $target to fix the following violations: + custom_config_message="
+ + Uh oh! @$user, your markdown has a few linting errors. Check $target to fix the following violations: $flag > 🤖 Beep boop! This comment was added automatically by [github/accessibility-alt-text-bot](https://github.com/github/accessibility-alt-text-bot). " - message="
Uh oh! @$user, at least one image you shared is missing helpful alt text. Check $target to fix the following violations: + message="
+ + Uh oh! @$user, at least one image you shared is missing helpful alt text. Check $target to fix the following violations: $flag