Merge pull request 'fix: feat: create prediction workflow labels during disinto init (#225)' (#228) from fix/issue-225 into main
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
This commit is contained in:
commit
d191b54482
1 changed files with 4 additions and 1 deletions
|
|
@ -1367,6 +1367,9 @@ create_labels() {
|
|||
["underspecified"]="#fbca04"
|
||||
["vision"]="#0e8a16"
|
||||
["action"]="#1d76db"
|
||||
["prediction/unreviewed"]="#a2eeef"
|
||||
["prediction/dismissed"]="#d73a4a"
|
||||
["prediction/actioned"]="#28a745"
|
||||
)
|
||||
|
||||
echo "Creating labels on ${repo}..."
|
||||
|
|
@ -1379,7 +1382,7 @@ create_labels() {
|
|||
| grep -o '"name":"[^"]*"' | cut -d'"' -f4) || existing=""
|
||||
|
||||
local name color
|
||||
for name in backlog in-progress blocked tech-debt underspecified vision action; do
|
||||
for name in backlog in-progress blocked tech-debt underspecified vision action prediction/unreviewed prediction/dismissed prediction/actioned; do
|
||||
if echo "$existing" | grep -qx "$name"; then
|
||||
echo " . ${name} (already exists)"
|
||||
continue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue