Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/release-draft.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
name: Release Draft

on:
pull_request:
# Use pull_request_target to always use the workflow file from main branch
# This ensures new PRs from branches that don't have the latest workflow will still work
# Security note: This is safe because we only run on merged PRs (code is already in main)
pull_request_target:
types: [closed]
branches: [main]

Expand Down Expand Up @@ -76,7 +79,7 @@ jobs:

claude_args: |
--model claude-opus-4-5-20251101
--max-turns 20
--max-turns 50
--json-schema '{"type":"object","properties":{"has_breaking_changes":{"type":"boolean","description":"Whether this PR contains breaking changes"},"breaking_changes_content":{"type":"string","description":"Formatted breaking changes section content (without ## Breaking Changes header), or empty string if none"},"reasoning":{"type":"string","description":"Brief explanation of why this is or is not a breaking change"}},"required":["has_breaking_changes","breaking_changes_content","reasoning"]}'

- name: Parse Claude output
Expand Down
Loading