From e7e3b365d841cd130e599e17edee0a34124fb79a Mon Sep 17 00:00:00 2001 From: Youssef Aitousarrah Date: Wed, 8 Apr 2026 11:42:24 -0700 Subject: [PATCH] fix(workflows): create labels before applying them to PRs --- .github/workflows/iterate.yml | 2 ++ .github/workflows/research-strategy.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/iterate.yml b/.github/workflows/iterate.yml index 2196de67..c795670d 100644 --- a/.github/workflows/iterate.yml +++ b/.github/workflows/iterate.yml @@ -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 \ diff --git a/.github/workflows/research-strategy.yml b/.github/workflows/research-strategy.yml index d8c02071..5bff9033 100644 --- a/.github/workflows/research-strategy.yml +++ b/.github/workflows/research-strategy.yml @@ -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 \