feat: add support for 'labeled' action in GitHub deployment handler

This commit is contained in:
Mauricio Siu
2026-03-10 02:09:16 -06:00
parent 1804b935f6
commit e554adc376

View File

@@ -358,7 +358,8 @@ export default async function handler(
const shouldCreateDeployment =
action === "opened" ||
action === "synchronize" ||
action === "reopened";
action === "reopened" ||
action === "labeled";
const repository = githubBody?.repository?.name;
const deploymentHash = githubBody?.pull_request?.head?.sha;