Skip to content

Commit 37e4dce

Browse files
Copilotlpcox
andauthored
fix: restore create-issue step and improve URL format in firewall-issue-dispatcher (#1910)
* Initial plan * fix: restore create-issue step and improve URL format in dispatcher Agent-Logs-Url: https://github.com/github/gh-aw-firewall/sessions/3f4f856a-f8bb-4de5-9d07-8d9a4dc9808a Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com> Co-authored-by: Landon Cox <landon.cox@microsoft.com>
1 parent d44b839 commit 37e4dce

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

.github/workflows/firewall-issue-dispatcher.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,20 +65,27 @@ gh api graphql -f query='
6565

6666
## Step 2: Filter Locally
6767

68-
For each issue found, read its comments and check whether any comment contains a reference to a `github/gh-aw-firewall` issue (i.e., a URL matching `https://github.com/github/gh-aw-firewall/issues/` or a GitHub cross-repo reference matching `github/gh-aw-firewall#`). If such a comment exists, **skip** that issue — it has already been audited.
68+
For each issue found, read its comments and check whether any comment contains a reference to a `github/gh-aw-firewall` issue (i.e., a URL matching `https://github.com/github/gh-aw-firewall/issues/` or a GitHub cross-repo reference matching `github/gh-aw-firewall#`). If such a comment exists, **skip** that issue — it has already been audited. Do this filtering in your analysis — do NOT make additional API calls.
6969

7070
If no unprocessed issues remain, call `noop` and stop.
7171

7272
## Step 3: Create Tracking Issues
7373

7474
For each **unprocessed** issue:
7575

76-
4. **Comment on the original `github/gh-aw` issue** linking to the newly created tracking issue. Use this exact format:
76+
1. **Create a tracking issue in `github/gh-aw-firewall`** using the `create_issue` safe output with:
77+
- Title: `[awf] <component>: <summary>`
78+
- Body: **Problem**, **Context** (link to original), **Root Cause**, **Proposed Solution**
79+
- Labels: `awf-triage`
80+
- Reference specific source files. See `AGENTS.md` for component descriptions.
7781

82+
2. **Comment on the original `github/gh-aw` issue** linking to the newly created tracking issue. Use this exact format:
7883
> 🔗 AWF tracking issue: https://github.com/github/gh-aw-firewall/issues/{NUMBER}
7984
8085
where `{NUMBER}` is replaced with **only the numeric issue number** (e.g., `1896`). Do NOT include the repository name, hash symbols, or any other text — just the number in the URL path. Use the `add_comment` safe output tool with `repo: "github/gh-aw"` and the original issue number.
8186

87+
where `{NUMBER}` is replaced with **only the numeric issue number** (e.g., `1896`). Do NOT include the repository name, hash symbols, or any other text — just the number in the URL path. Use the `add_comment` safe output tool with `repo: "github/gh-aw"` and the original issue number.
88+
8289
### 4. Report Results
8390

8491
Report: issues found, skipped (already audited), tracking issues created.

0 commit comments

Comments
 (0)