fix(workflows): create labels before applying them to PRs

This commit is contained in:
Youssef Aitousarrah 2026-04-08 11:42:24 -07:00
parent 8c4ce43b2a
commit e7e3b365d8
2 changed files with 4 additions and 0 deletions

View File

@ -108,6 +108,8 @@ jobs:
echo "*Opened: ${DATE} by automated iterate workflow*"
echo "*Merge to apply learnings and reset the iteration cycle.*"
} > /tmp/pr_body.md
gh label create "automated" --color "0075ca" --description "Automated workflow" 2>/dev/null || true
gh label create "iteration" --color "e4e669" --description "Iteration system" 2>/dev/null || true
gh pr create \
--title "learn(iterate): automated improvements — ${DATE}" \
--body-file /tmp/pr_body.md \

View File

@ -115,6 +115,8 @@ jobs:
echo "*Opened: ${DATE} by automated research-strategy workflow*"
echo "*Merge to apply research findings and reset the research cycle.*"
} > /tmp/pr_body.md
gh label create "automated" --color "0075ca" --description "Automated workflow" 2>/dev/null || true
gh label create "research" --color "d93f0b" --description "Research findings" 2>/dev/null || true
gh pr create \
--title "research: new strategy findings — ${DATE}" \
--body-file /tmp/pr_body.md \