mirror of
https://github.com/open-jarvis/OpenJarvis.git
synced 2026-08-14 00:47:52 +00:00
feat: add take-bot workflow and update contribution docs
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
a5949052b6
commit
cbf6fe3ea2
@@ -0,0 +1,29 @@
|
||||
name: Auto-assign on "take"
|
||||
|
||||
on:
|
||||
issue_comment:
|
||||
types: [created]
|
||||
|
||||
permissions:
|
||||
issues: write
|
||||
|
||||
jobs:
|
||||
assign:
|
||||
if: >-
|
||||
!github.event.issue.pull_request
|
||||
&& contains(fromJSON('["take", "Take", "TAKE"]'), trim(github.event.comment.body))
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Assign commenter
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
COMMENTER="${{ github.event.comment.user.login }}"
|
||||
ISSUE="${{ github.event.issue.number }}"
|
||||
CURRENT=$(gh issue view "$ISSUE" --repo "${{ github.repository }}" --json assignees --jq '.assignees[].login' 2>/dev/null)
|
||||
if echo "$CURRENT" | grep -qx "$COMMENTER"; then
|
||||
echo "$COMMENTER is already assigned to #$ISSUE"
|
||||
else
|
||||
gh issue edit "$ISSUE" --repo "${{ github.repository }}" --add-assignee "$COMMENTER"
|
||||
echo "Assigned $COMMENTER to #$ISSUE"
|
||||
fi
|
||||
+4
-1
@@ -104,7 +104,10 @@ For detailed development setup, code conventions, and project structure, see the
|
||||
|
||||
## Claiming Issues
|
||||
|
||||
Want to work on an issue? Comment **"take"** on the issue to claim it. This lets others know you're working on it and prevents duplicate effort.
|
||||
1. Browse the [Roadmap](https://open-jarvis.github.io/OpenJarvis/development/roadmap/) for an item that interests you
|
||||
2. Check if a [GitHub issue](https://github.com/open-jarvis/OpenJarvis/issues) already exists for it — if not, [open one](https://github.com/open-jarvis/OpenJarvis/issues/new/choose) describing what you'd like to work on
|
||||
3. Comment **"take"** on the issue to get auto-assigned
|
||||
4. Fork, branch, and start working
|
||||
|
||||
If you've claimed an issue but can't finish it, please leave a comment so someone else can pick it up.
|
||||
|
||||
|
||||
@@ -14,10 +14,10 @@ These are the areas where active development is happening and contributions are
|
||||
|
||||
## How to Get Involved
|
||||
|
||||
1. Browse the workstreams below for items that interest you
|
||||
2. Look for **Ready** items and **good first issue** tags
|
||||
3. Find the matching [GitHub issue](https://github.com/open-jarvis/OpenJarvis/issues) and comment **"take"** to claim it — if no issue exists yet, [open one](https://github.com/open-jarvis/OpenJarvis/issues/new/choose) describing what you'd like to work on
|
||||
4. Read the [Contributing Guide](https://github.com/open-jarvis/OpenJarvis/blob/main/CONTRIBUTING.md) for the full development setup, PR process, and code conventions
|
||||
1. Browse the workstreams below for an item that interests you
|
||||
2. Check if a [GitHub issue](https://github.com/open-jarvis/OpenJarvis/issues) already exists for it — if not, [open one](https://github.com/open-jarvis/OpenJarvis/issues/new/choose)
|
||||
3. Comment **"take"** on the issue to get auto-assigned
|
||||
4. Read the [Contributing Guide](https://github.com/open-jarvis/OpenJarvis/blob/main/CONTRIBUTING.md) for development setup and PR process
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user