Skip to content

Commit d313f6d

Browse files
authored
fix: clarify numeric issue URL formatting in dispatcher workflow source
Agent-Logs-Url: https://github.com/github/gh-aw-firewall/sessions/9718b392-06e4-4d03-a68e-3bd948d876c2
1 parent 06d76ad commit d313f6d

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,12 @@ For each **unprocessed** issue:
8282
2. **Comment on the original `github/gh-aw` issue** linking to the newly created tracking issue. Use this exact format:
8383
> 🔗 AWF tracking issue: https://github.com/github/gh-aw-firewall/issues/{NUMBER}
8484
85-
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.
85+
`create_issue` may return a reference like `github/gh-aw-firewall#2159`. Extract only the trailing digits before composing the URL.
86+
- Valid: `https://github.com/github/gh-aw-firewall/issues/2159`
87+
- Invalid: `https://github.com/github/gh-aw-firewall/issues/github/gh-aw-firewall#2159`
88+
- Invalid: `https://github.com/github/gh-aw-firewall/issues/#2159`
8689

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.
90+
Use the `add_comment` safe output tool with `repo: "github/gh-aw"` and the original issue number.
8891

8992
### 4. Report Results
9093

0 commit comments

Comments
 (0)