Skip to content

fix: use PAT and API-based PR lookup for draft conversion#772

Merged
chrisburr merged 1 commit into
mainfrom
fix/draft-on-changes-requested-v2
Feb 6, 2026
Merged

fix: use PAT and API-based PR lookup for draft conversion#772
chrisburr merged 1 commit into
mainfrom
fix/draft-on-changes-requested-v2

Conversation

@chrisburr

Copy link
Copy Markdown
Member

Summary

  • Drop artifact-based PR number passing in favour of API-based PR lookup from workflow_run context
  • Use a PAT (DRAFT_PAT secret) for the convertPullRequestToDraft GraphQL mutation, as GITHUB_TOKEN cannot perform this operation

Comment thread .github/workflows/draft-on-changes-requested.yml Fixed
@chrisburr chrisburr force-pushed the fix/draft-on-changes-requested-v2 branch from a41b148 to 7cd4627 Compare February 6, 2026 14:42
@chrisburr chrisburr merged commit ee1095b into main Feb 6, 2026
28 checks passed
@chrisburr chrisburr deleted the fix/draft-on-changes-requested-v2 branch February 6, 2026 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants