File tree Expand file tree Collapse file tree 2 files changed +14
-8
lines changed
Expand file tree Collapse file tree 2 files changed +14
-8
lines changed Original file line number Diff line number Diff line change 55 types : [assigned]
66
77permissions :
8- # Grant write permissions for issues to allow commenting on issues
9- issues : write
10- # Grant write permissions for contents to allow access to repository content
11- contents : write
8+ issues : write # Only need write access to issuescl
129
1310jobs :
1411 comment :
1916 with :
2017 github-token : ${{ secrets.GITHUB_TOKEN }}
2118 script : |
22- github.rest.issues.createComment({
19+ // Get all assignees as mentions
20+ const assignees = context.payload.assignees
21+ ? context.payload.assignees.map(u => `@${u.login}`).join(', ')
22+ : `@${context.payload.assignee.login}`;
23+
24+ // Post a comment
25+ await github.rest.issues.createComment({
2326 issue_number: context.issue.number,
2427 owner: context.repo.owner,
2528 repo: context.repo.repo,
26- body: `👤 Issue assigned to @${context.payload.assignee.login} .`
29+ body: `👤 Issue assigned to ${assignees}. Please start working on it when possible .`
2730 });
Original file line number Diff line number Diff line change @@ -497,9 +497,12 @@ const DashboardContent: React.FC = () => {
497497 animate = { { opacity : 1 , y : 0 } }
498498 transition = { { duration : 0.5 } }
499499 >
500- < h1 className = "dashboard-main-title" > Recode Hive Community Dashboard</ h1 >
500+ < h1 className = "dashboard-main-title" >
501+ Recode Hive Community Dashboard
502+ </ h1 >
501503 < p className = "dashboard-description" >
502- Welcome to the Recode Hive community hub! Explore our stats, engage in discussions, and connect with fellow contributors.
504+ Welcome to the Recode Hive community hub! Explore our stats,
505+ engage in discussions, and connect with fellow contributors.
503506 </ p >
504507
505508 < section className = "dashboard-stats-section" >
You can’t perform that action at this time.
0 commit comments