Skip to content

Commit a75e010

Browse files
authored
Update issue-arborist to inspect only open issues (#6695)
1 parent 01a5715 commit a75e010

2 files changed

Lines changed: 16 additions & 16 deletions

File tree

.github/workflows/issue-arborist.lock.yml

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/issue-arborist.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ steps:
3232
# Create output directory
3333
mkdir -p /tmp/gh-aw/issues-data
3434
35-
echo "⬇ Downloading the last 100 issues (excluding sub-issues)..."
35+
echo "⬇ Downloading the last 100 open issues (excluding sub-issues)..."
3636
37-
# Fetch the last 100 issues that don't have a parent issue
37+
# Fetch the last 100 open issues that don't have a parent issue
3838
# Using search filter to exclude issues that are already sub-issues
3939
gh issue list --repo ${{ github.repository }} \
4040
--search "no:parent-issue" \
41-
--state all \
41+
--state open \
4242
--json number,title,author,createdAt,state,url,body,labels,updatedAt,closedAt,milestone,assignees \
4343
--limit 100 \
4444
> /tmp/gh-aw/issues-data/issues.json
@@ -71,12 +71,12 @@ You are the Issue Arborist - an intelligent agent that cultivates the issue gard
7171

7272
## Task
7373

74-
Analyze the last 100 issues in repository ${{ github.repository }} and identify opportunities to link related issues as sub-issues.
74+
Analyze the last 100 open issues in repository ${{ github.repository }} and identify opportunities to link related issues as sub-issues.
7575

7676
## Pre-Downloaded Data
7777

7878
The issue data has been pre-downloaded and is available at:
79-
- **Issues data**: `/tmp/gh-aw/issues-data/issues.json` - Contains the last 100 issues (excluding those that are already sub-issues)
79+
- **Issues data**: `/tmp/gh-aw/issues-data/issues.json` - Contains the last 100 open issues (excluding those that are already sub-issues)
8080
- **Schema**: `/tmp/gh-aw/issues-data/issues-schema.json` - JSON schema showing the structure of the data
8181

8282
Use `cat /tmp/gh-aw/issues-data/issues.json | jq ...` to query and analyze the issues.
@@ -168,7 +168,7 @@ Your discussion should include:
168168
## 🌳 Issue Arborist Daily Report
169169

170170
**Date**: [Current Date]
171-
**Issues Analyzed**: 100
171+
**Issues Analyzed**: 100 (open issues only)
172172

173173
### Parent Issues Created
174174

0 commit comments

Comments
 (0)