Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions .github/workflows/autocomment-iss-assign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@ on:
types: [assigned]

permissions:
# Grant write permissions for issues to allow commenting on issues
issues: write
# Grant write permissions for contents to allow access to repository content
contents: write
issues: write # Only need write access to issuescl

jobs:
comment:
Expand All @@ -19,9 +16,15 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
github.rest.issues.createComment({
// Get all assignees as mentions
const assignees = context.payload.assignees
? context.payload.assignees.map(u => `@${u.login}`).join(', ')
: `@${context.payload.assignee.login}`;

// Post a comment
await github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: `👤 Issue assigned to @${context.payload.assignee.login}.`
body: `👤 Issue assigned to ${assignees}. Please start working on it when possible.`
});
7 changes: 5 additions & 2 deletions src/pages/dashboard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -497,9 +497,12 @@ const DashboardContent: React.FC = () => {
animate={{ opacity: 1, y: 0 }}
transition={{ duration: 0.5 }}
>
<h1 className="dashboard-main-title">Recode Hive Community Dashboard</h1>
<h1 className="dashboard-main-title">
Recode Hive Community Dashboard
</h1>
<p className="dashboard-description">
Welcome to the Recode Hive community hub! Explore our stats, engage in discussions, and connect with fellow contributors.
Welcome to the Recode Hive community hub! Explore our stats,
engage in discussions, and connect with fellow contributors.
</p>

<section className="dashboard-stats-section">
Expand Down
Loading