You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
message="Uh oh! @$comment_owner, the image you shared is missing helpful alt text. Check $target.
42
+
message="Uh oh! @$user, the image you shared is missing helpful alt text. Check $target.
43
43
44
44
Alt text is an invisible description that helps screen readers describe images to blind or low-vision users. If you are using markdown to display images, add your alt text inside the brackets of the markdown image.
45
45
46
46
Learn more about alt text at [Basic writing and formatting syntax: images on GitHub Docs](https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#images)."
47
-
flag="$(flagAltText "$comment")"
47
+
flag="$(flagAltText "$content")"
48
48
if [[ $flag = true ]]; then
49
49
if [[ $type = pr_comment ]] || [[ $type = pr_description ]]; then
50
-
gh pr comment $issue --body "$message"
50
+
gh pr comment $issue_url --body "$message"
51
51
elif [[ $type = discussion_description ]]; then
52
52
gh api graphql -F discussionId="$discussion_node_id" -F body="$message" -f query='
0 commit comments