Skip to content

fix(ci): handle draft PR conversions in pr-vouch#611

Merged
t3dotgg merged 1 commit intopingdotgg:mainfrom
binbandit:fix/pr-vouch-draft-prs
Mar 9, 2026
Merged

fix(ci): handle draft PR conversions in pr-vouch#611
t3dotgg merged 1 commit intopingdotgg:mainfrom
binbandit:fix/pr-vouch-draft-prs

Conversation

@binbandit
Copy link
Contributor

@binbandit binbandit commented Mar 9, 2026

Summary

  • add the missing converted_to_draft pull_request_target trigger to pr-vouch
  • ensure trust labels are refreshed when an open PR is moved back into draft state
  • keep the workflow behavior unchanged for every other PR lifecycle event

Verification

  • ran bun lint
  • ran bun typecheck
  • verified the branch diff only changes .github/workflows/pr-vouch.yml

Note

Trigger the pr-vouch pull_request_target workflow on converted_to_draft events in .github/workflows/pr-vouch.yml

Add converted_to_draft to the on.pull_request_target.types list in .github/workflows/pr-vouch.yml so the workflow runs when a pull request is converted to draft.

📍Where to Start

Start in .github/workflows/pr-vouch.yml at the on.pull_request_target.types configuration.

Macroscope summarized 1aaf095.

@github-actions github-actions bot added the vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. label Mar 9, 2026
@coderabbitai
Copy link

coderabbitai bot commented Mar 9, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 07290b91-1c99-4d20-a8ad-2efdeea89701

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@binbandit
Copy link
Contributor Author

@t3dotgg Seems the vercel workflow is having a false positive again?

@t3dotgg
Copy link
Member

t3dotgg commented Mar 9, 2026

Yeah the vercel thing will trigger on any edits to non-package code too 🙃 happy to merge this either way

@t3dotgg t3dotgg merged commit 16f3490 into pingdotgg:main Mar 9, 2026
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants