Skip to content

Commit 11f64f9

Browse files
cliffhallclaude
andcommitted
docs(security-advisory): pass --head when opening the public PR from a detached HEAD
Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: cliffhall <[email protected]>
1 parent 8c7af45 commit 11f64f9

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

  • .claude/skills/security-advisory

‎.claude/skills/security-advisory/SKILL.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,9 @@ git fetch origin v2/main
393393
If the branch no longer merges cleanly onto `origin/v2/main`, resolve that in
394394
the fork, where the review is, before pushing.
395395

396+
The worktree is on a detached `HEAD`, so `gh pr create` cannot infer the
397+
branch: add `--head "$BRANCH"` to `/pr-flow`'s create command.
398+
396399
- **Title**: `fix(<server>): GHSA-xxxx-yyyy-zzzz`, and nothing more.
397400
- **Body**: `Closes #<N>` (the converted issue) on the first line, then
398401
`/pr-flow`'s sections, **describing no part of the vulnerability**: what it

0 commit comments

Comments
 (0)