Skip to content

Commit

Permalink
Increase verbosity in check workflow
Browse files Browse the repository at this point in the history
I'm seeing this error and think it has to do with label creation:

```
json: cannot unmarshal number into Go struct field label.id of type string
```
  • Loading branch information
kwk committed Jan 31, 2024
1 parent 0b1ef42 commit 5d17454
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/functions-big-merge.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This file contains overwrite for the functions in functions.sh
set +x
set -x

# Prints the chroots we care about.
function get_chroots() {
Expand Down
3 changes: 2 additions & 1 deletion scripts/functions.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
set +x
set -x

# Prints the year month and day combination for today
function yyyymmdd() {
Expand Down Expand Up @@ -463,6 +463,7 @@ function _create_labels() {
# Deduplicate labels
for label in $(echo $labels | tr ' ' '\n' | sort | uniq | tr '\n' ' '); do
local label_name=$label_prefix$label
>&2 echo "Creating label: repo=$repo name=$label_name color=$color"

This comment has been minimized.

Copy link
@kwk

kwk Jan 31, 2024

Author Collaborator

Apparently I've hit a bug in gh: cli/cli#8652

gh --repo $repo label create $label_name --color $color --force
done

Expand Down

0 comments on commit 5d17454

Please sign in to comment.