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
"Go module files are out of date for this PR (go.mod/go.sum and/or vendor)." \
134
-
"" \
135
-
"A maintainer can apply the generated updates by running:" \
136
-
"- Workflow: ${workflow_url}" \
137
-
"- Input: pr_number=${pr_number}" \
138
-
"" \
139
-
"Note: commits pushed by GitHub Actions using GITHUB_TOKEN don't auto-trigger other push/pull_request workflows, so checks may need to be manually re-run." \
140
-
"" \
141
-
"Diff summary:" \
142
-
"${diffstat}" \
143
-
)"
144
-
145
-
comment_id="$(gh api "repos/${GITHUB_REPOSITORY}/issues/${pr_number}/comments" --paginate | jq -r --arg marker "${marker}" '.[] | select(.user.login=="github-actions[bot]" and (.body | contains($marker))) | .id' | head -n 1)"
146
-
if [[ -n "${comment_id}" && "${comment_id}" != "null" ]]; then
147
-
gh api -X PATCH "repos/${GITHUB_REPOSITORY}/issues/comments/${comment_id}" -f body="${body}" >/dev/null
148
-
exit 0
149
-
fi
150
-
151
-
gh api -X POST "repos/${GITHUB_REPOSITORY}/issues/${pr_number}/comments" -f body="${body}" >/dev/null
0 commit comments