fix(workflows): create labels before applying them to PRs
This commit is contained in:
parent
8c4ce43b2a
commit
e7e3b365d8
|
|
@ -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 \
|
||||
|
|
|
|||
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Reference in New Issue