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.
39
43
@@ -42,9 +46,9 @@ runs:
42
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)."
43
47
flag="$(flagAltText "$comment")"
44
48
if [[ $flag = true ]]; then
45
-
if [[ $is_pr = true ]]; then
49
+
if [[ $type = pr_comment ]] || [[ $type = pr_description ]]; then
46
50
gh pr comment $issue --body "$message"
47
-
elif [[ $is_discussion = true ]]; then
51
+
elif [[ $type = discussion_description ]]; then
48
52
gh api graphql -F discussionId="$discussion_node_id" -F body="$message" -f query='
0 commit comments