Add a Platform Linear ticket to a PDQ PR title, wait for linkback, and rerun the ticketing check.
Use this workflow to add a Platform Linear ticket to an existing PDQ GitHub PR title, wait for the Linear linkback comment, and rerun the Ensure work is ticketed check.
Run this skill only in PDQ repositories.
git remote get-url origingithub.com/pdq/ (SSH or HTTPS)Fetch minimal PR context once.
gh pr view <pr> --json number,title,url,headRefNamegit log -1 --format="%H" for commit SHACreate the Linear issue in Platform with the correct label.
Platform (always use this)engineering task (always required)PLT-2976)Update PR title by appending the issue id suffix.
<existing title> [PLT-xxxx]Wait for Linear linkback comment on the PR.
gh api repos/pdq/<repo>/issues/<pr>/commentslinear[bot] or comment body containing the exact ticket keyRerun ticketing check in the fastest way.
gh pr checks <pr> --json name,state,linkEnsure work is ticketed.../actions/runs/<run_id>/job/...gh run rerun <run_id> --failedgh pr checks until Ensure work is ticketed is SUCCESS or FAILUREgh pr view <pr> --json number,title,url,headRefName,baseRefNamegh pr checks <pr> --json name,state,linkgh run rerun <run_id> --failedgh pr checks for Ensure work is ticketedgh api repos/pdq/<repo>/issues/<pr>/commentsengineering task label[PLT-xxxx]Ensure work is ticketed is rerun and finishes SUCCESS