@@ -21,15 +21,15 @@ jobs:
2121 const prNumber = context.payload.pull_request.number;
2222 const prBody = context.payload.pull_request.body || '';
2323 const prAuthor = context.payload.pull_request.user.login;
24-
24+
2525 // Extract issue numbers from PR body (supports #123, fixes #123, closes #123, resolves #123, etc.)
2626 const issuePattern = /(close[sd]?|fix(e[sd])?|resolve[sd]?)\s*#(\d+)|#(\d+)/gi;
2727 const matches = [...prBody.matchAll(issuePattern)];
2828 const issueNumbers = [...new Set(matches.map(m => m[3] || m[4]).filter(Boolean))];
29-
30- let allLabels = new Set(['awaiting review', 'apertre3.0 ']);
29+
30+ let allLabels = new Set(['awaiting review', 'nsoc26 ']);
3131 let linkedIssuesInfo = [];
32-
32+
3333 // Fetch labels from each linked issue
3434 for (const issueNumber of issueNumbers) {
3535 try {
5454 console.log(`Could not fetch issue #${issueNumber}: ${error.message}`);
5555 }
5656 }
57-
57+
5858 // Apply all collected labels to PR
5959 if (allLabels.size > 0) {
6060 await github.rest.issues.addLabels({
6464 labels: Array.from(allLabels)
6565 });
6666 }
67-
67+
6868 // Assign mugenkyou as reviewer (only if they're not the PR author)
6969 if (prAuthor !== 'mugenkyou') {
7070 try {
@@ -78,11 +78,11 @@ jobs:
7878 console.log(`Could not assign reviewer mugenkyou: ${error.message}`);
7979 }
8080 }
81-
81+
8282 // Create professional comment
8383 let commentBody = `## 📥 Pull Request Received\n\n`;
8484 commentBody += `Thank you for your contribution to **College Daddy**. Your pull request has been received and is currently under review.\n\n`;
85-
85+
8686 if (linkedIssuesInfo.length > 0) {
8787 commentBody += `### 🔗 Linked Issues\n\n`;
8888
@@ -91,22 +91,22 @@ jobs:
9191 }
9292 commentBody += `\n`;
9393 }
94-
94+
9595 commentBody += `### ✅ Pre-Merge Checklist\n\n`;
9696 commentBody += `Please ensure the following requirements are met:\n\n`;
9797 commentBody += `- [ ] Changes adhere to contribution guidelines\n`;
9898 commentBody += `- [ ] Related issues are referenced in description\n`;
9999 commentBody += `- [ ] All changes tested and verified locally\n`;
100100 commentBody += `- [ ] Code follows project standards\n\n`;
101-
101+
102102 if (prAuthor !== 'mugenkyou') {
103103 commentBody += `### 👤 Reviewer Assigned\n\n`;
104104 commentBody += `@mugenkyou has been assigned to review this pull request.\n\n`;
105105 }
106-
106+
107107 commentBody += `---\n\n`;
108108 commentBody += `Our team will review your submission shortly. We appreciate your effort in improving the platform for students.`;
109-
109+
110110 await github.rest.issues.createComment({
111111 owner: context.repo.owner,
112112 repo: context.repo.repo,
@@ -122,7 +122,7 @@ jobs:
122122 script : |
123123 const prNumber = context.payload.pull_request.number;
124124 const contributor = context.payload.pull_request.user.login;
125-
125+
126126 const commentBody = `## 🎉 Pull Request Merged Successfully\n\n` +
127127 `**Contributor**: @${contributor}\n\n` +
128128 `Your pull request has been successfully merged into the main codebase. ` +
@@ -134,7 +134,7 @@ jobs:
134134 `- 🔄 Continue contributing to enhance the platform\n\n` +
135135 `---\n\n` +
136136 `We value your commitment to improving educational technology and look forward to your continued involvement.`;
137-
137+
138138 await github.rest.issues.createComment({
139139 owner: context.repo.owner,
140140 repo: context.repo.repo,
@@ -149,7 +149,7 @@ jobs:
149149 github-token : ${{ secrets.GITHUB_TOKEN }}
150150 script : |
151151 const prNumber = context.payload.pull_request.number;
152-
152+
153153 // Remove 'awaiting review' label
154154 try {
155155 await github.rest.issues.removeLabel({
0 commit comments