Unverified Commit e9a6203d authored by Yineng Zhang's avatar Yineng Zhang Committed by GitHub
Browse files

feat: skip good first issue (#2298)

parent 62c516ac
...@@ -54,6 +54,11 @@ jobs: ...@@ -54,6 +54,11 @@ jobs:
} }
for (const issue of issues.data) { for (const issue of issues.data) {
// Skip if the issue has 'good first issue' label
if (issue.labels.some(label => label.name === 'good first issue')) {
console.log(`Skipping issue #${issue.number} as it's marked as 'good first issue'`);
continue;
}
if (new Date(issue.updated_at) < sixtyDaysAgo) { if (new Date(issue.updated_at) < sixtyDaysAgo) {
try { try {
await github.rest.issues.update({ await github.rest.issues.update({
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment