fix: feat: create prediction workflow labels during disinto init (#225)
This commit is contained in:
parent
d61d112cbf
commit
7f67153431
1 changed files with 4 additions and 1 deletions
|
|
@ -1367,6 +1367,9 @@ create_labels() {
|
||||||
["underspecified"]="#fbca04"
|
["underspecified"]="#fbca04"
|
||||||
["vision"]="#0e8a16"
|
["vision"]="#0e8a16"
|
||||||
["action"]="#1d76db"
|
["action"]="#1d76db"
|
||||||
|
["prediction/unreviewed"]="#a2eeef"
|
||||||
|
["prediction/dismissed"]="#d73a4a"
|
||||||
|
["prediction/actioned"]="#28a745"
|
||||||
)
|
)
|
||||||
|
|
||||||
echo "Creating labels on ${repo}..."
|
echo "Creating labels on ${repo}..."
|
||||||
|
|
@ -1379,7 +1382,7 @@ create_labels() {
|
||||||
| grep -o '"name":"[^"]*"' | cut -d'"' -f4) || existing=""
|
| grep -o '"name":"[^"]*"' | cut -d'"' -f4) || existing=""
|
||||||
|
|
||||||
local name color
|
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
|
if echo "$existing" | grep -qx "$name"; then
|
||||||
echo " . ${name} (already exists)"
|
echo " . ${name} (already exists)"
|
||||||
continue
|
continue
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue