Skip to content

Commit 3d69b30

Browse files
sbfnksbfnk-bot
andcommitted
Use 'bug' label and add NEWS.md link in release reminders
- Changed from 'critical' to 'bug' (standard GitHub label) - Added link to NEWS.md for context on what's changed Co-Authored-By: sbfnk-bot <sbfnk-bot@users.noreply.github.com>
1 parent 7b17f12 commit 3d69b30

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/release-reminders.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ jobs:
5757
continue
5858
fi
5959
60-
# Get critical issues
61-
CRITICAL=$(gh issue list --repo "$repo" --label critical --state open --json number,title --jq '.[] | "- #\(.number) \(.title)"' 2>/dev/null || echo "")
62-
if [ -z "$CRITICAL" ]; then
63-
CRITICAL="None"
60+
# Get open bugs
61+
BUGS=$(gh issue list --repo "$repo" --label bug --state open --json number,title --jq '.[] | "- #\(.number) \(.title)"' 2>/dev/null || echo "")
62+
if [ -z "$BUGS" ]; then
63+
BUGS="None"
6464
fi
6565
6666
# Create reminder issue
@@ -70,9 +70,10 @@ jobs:
7070
--label "release" \
7171
--body "**Last release:** $LAST_TAG ($DAYS_SINCE days ago)
7272
**Commits since:** $COMMITS ([view diff](https://github.com/$repo/compare/$LAST_TAG...HEAD))
73+
**What's new:** [NEWS.md](https://github.com/$repo/blob/HEAD/NEWS.md)
7374

74-
**Critical issues:**
75-
$CRITICAL
75+
**Open bugs:**
76+
$BUGS
7677

7778
## Release checklist
7879
- [ ] \`revdepcheck::revdep_check()\` (if package has dependents)

0 commit comments

Comments
 (0)