Skip to content

Auto-create 10 contributor issues on merge with deduplication#4

Merged
Mkalbani merged 3 commits into
mainfrom
copilot/create-open-issues-for-contributors
Mar 20, 2026
Merged

Auto-create 10 contributor issues on merge with deduplication#4
Mkalbani merged 3 commits into
mainfrom
copilot/create-open-issues-for-contributors

Conversation

Copilot AI commented Mar 20, 2026

Copy link
Copy Markdown
Contributor

The workflow only fired on workflow_dispatch, so no issues had ever been created — the Issues tab was empty and contributors had nothing to find or claim.

Changes

.github/workflows/create-wave-issues.yml

  • Added push: branches: [main] trigger (path-scoped) so all 10 issues are created automatically when this PR merges — no manual Action run required
  • Consolidated into a single step with an ensureIssue() helper that fetches existing issue titles once and skips any that already exist, making the workflow fully idempotent
async function ensureIssue(title, labels, body) {
  if (existingIssues.includes(title)) {
    console.log(`SKIP (already exists): ${title}`);
    return;
  }
  await github.rest.issues.create({ owner, repo, title, labels, body });
}
  • Standardized all 10 issue bodies: GitHub checkbox task lists (- [ ]), NatSpec documentation task present and consistently ordered (second-to-last, before deploy), and a /apply call-to-action so contributors know how to claim each issue

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI changed the title [WIP] Add functionality to create open issues for contributors Add contributor issues infrastructure: labels, issue templates, and README discoverability Mar 20, 2026
Copilot AI requested a review from Mkalbani March 20, 2026 18:24
Copilot AI changed the title Add contributor issues infrastructure: labels, issue templates, and README discoverability Auto-create 10 contributor issues on merge with deduplication Mar 20, 2026
@Mkalbani
Mkalbani marked this pull request as ready for review March 20, 2026 18:34
@Mkalbani
Mkalbani merged commit d348bcf into main Mar 20, 2026
0xNinx pushed a commit to 0xNinx/mesh-contract that referenced this pull request Jun 23, 2026
…ot/create-open-issues-for-contributors

Auto-create 10 contributor issues on merge with deduplication
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants