Skip to content
Closed
Show file tree
Hide file tree
Changes from 2 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
47 changes: 0 additions & 47 deletions .github/workflows/issue-take-untake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,53 +13,6 @@ permissions:
issues: write

jobs:
# Post initial instructions and ensure label exists
issue_instructions:
if: github.event_name == 'issues' && github.event.action == 'opened'
runs-on: ubuntu-latest
steps:
- name: Post instructions and ensure 'taken' label exists
uses: actions/github-script@v8
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const owner = context.repo.owner;
const repo = context.repo.repo;
const issueNumber = context.payload.issue.number;
const takenLabel = 'taken';

// Ensure label exists (best-effort)
try {
await github.rest.issues.createLabel({
owner,
repo,
name: takenLabel,
color: 'ff0000',
description: 'Issue is currently claimed'
});
} catch (e) {
// ignore if label already exists
}

// Instructions comment (no meta marker here; preserves commit guide rules)
await github.rest.issues.createComment({
owner,
repo,
issue_number: issueNumber,
body: [
"👋 Thanks for opening this issue!",
"",
"> [!TIP]",
"> # Claiming rules",
"> - Only one claim at a time (the claimer can invite others)",
"> - Comment `/take` to claim the issue",
"> \t- You may invite collaborators: e.g., `/take @user1 @user2`",
"> - Comment `/untake` to release (or to remove yourself if you've been invited)",
"> \t- You may remove collaborators: e.g., `/untake @user1 @user2`",
"> - Claims expire after **3 weeks** of inactivity (automatically)",
""
].join("\n")
});

# Handle /take and /untake comments (single bot comment per action)
take_untake:
Expand Down
6 changes: 6 additions & 0 deletions docs/docs/guidelines/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ _When reporting issues, please:_
- Attach screenshots or logs if applicable.
- Specify your environment (OS, Node.js version, browser).

## Claiming Issues

- To claim an issue, comment: `/take`. This will assign the issue to you and add the `taken` label.
- To release an issue, comment: `/untake`
- Issues labeled `taken` are currently owned and being worked on.
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved

## Development Setup

The [Getting Started](../introduction/getting-started.md) section shows how to clone and run the application for the first time.
Expand Down