Skip to content

Commit b9df1e4

Browse files
committed
Commented labelling logic temporarily
- This doesn't work (still) and it's causing confusion - Remove until we can get it to work
1 parent 8f571e9 commit b9df1e4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

actions/label-actions/src/index.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,12 @@ async function main() {
8383
// Check if the PR author is a member of the Ghost Foundation team
8484
const isGhostMember = await helpers.isGhostFoundationMember(author, pullRequest.author_association);
8585

86-
// Add appropriate label based on membership
87-
if (isGhostMember) {
88-
await helpers.addLabel(pullRequest, 'core team');
89-
} else {
90-
await helpers.addLabel(pullRequest, 'community');
91-
}
86+
// Don't label until we get the correct org membership data
87+
// if (isGhostMember) {
88+
// await helpers.addLabel(pullRequest, 'core team');
89+
// } else {
90+
// await helpers.addLabel(pullRequest, 'community');
91+
// }
9292

9393
core.info(`Labeled PR #${pullRequest.number} by ${author} as ${isGhostMember ? 'core team' : 'community'}`);
9494
}

0 commit comments

Comments
 (0)