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
Changelog label assist sticky removal and slash-command recheck
Use delete: true for marocchino sticky comment removal, dispatch
changelog-label-recheck after /needs-changelog and /no-changelog apply
labels, and listen for that event in the check workflow so merge gating
updates without a new push.
ack="Applied label \`no-changelog\`. Please add a brief note in the PR description explaining why a release note is not needed (e.g. under the changelog question in the PR template). Merge is not blocked on this — only the label is required."
167
169
fi
168
170
gh api "repos/${repo}/issues/${pr}/comments" -f "body=${ack}"
171
+
172
+
# Sticky removal must proceed even if the recheck below fails.
173
+
echo "applied=true" >> "$GITHUB_OUTPUT"
174
+
175
+
# GITHUB_TOKEN label changes do not re-trigger pull_request workflows; rerun the PR check (best-effort).
176
+
run_id=""
177
+
page=1
178
+
while [[ -z "${run_id}" && "${page}" -le 10 ]]; do
179
+
run_id="$(gh api "repos/${repo}/actions/workflows/changelog-label-check.yml/runs?per_page=100&page=${page}&event=pull_request" \
0 commit comments