Skip to content

Commit e53acb1

Browse files
authored
fix: casing for good first issue bot (#1295)
Signed-off-by: exploreriii <133720349+exploreriii@users.noreply.github.com>
1 parent 753fae7 commit e53acb1

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/scripts/gfi_notify_team.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ module.exports = async ({ github, context }) => {
5151
}
5252

5353
const labels = issue.labels?.map(l => l.name) || [];
54-
55-
const isGFI = labels.includes('good first issue')
54+
55+
const isGFI = labels.includes('Good First Issue')
5656

5757
if (!isGFI) {
5858
return console.log('Issue is not a GFI');
@@ -100,6 +100,6 @@ module.exports = async ({ github, context }) => {
100100
console.log(`Triggered by: @${comment.user.login}`);
101101
console.log(`Message: ${message}`);
102102
} catch (err) {
103-
console.log('❌ Error:', err.message);
103+
console.log('❌ Error:', err.message);
104104
}
105105
};

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ This changelog is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.
123123
- Renamed `pr-missing-linked-issue.yml` and `pr_missing_linked_issue.js` to `bot-pr-missing-linked-issue.yml` and `bot-pr-missing-linked-issue.js` respectively. Enhanced LinkBot PR comment with clickable hyperlinks to documentation for linking issues and creating issues. (#1264)
124124

125125
### Fixed
126+
- GFI workflow casing
126127
- Update `bot-workflows.yml` to trigger only on open PRs with failed workflows; ignore closed PRs and branches without open PRs.
127128
- Fixed step-security/harden-runner action SHA in merge conflict bot workflow (#1278)
128129
- Fixed the README account balance example to use correct SDK APIs and provide a runnable testnet setup. (#1250)

0 commit comments

Comments
 (0)