Skip to content

Commit b58e3d0

Browse files
authored
Update close-innactive-issues-without-repro.yaml
Trying again to fix jq compare statement on label
1 parent bb2d71b commit b58e3d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/close-innactive-issues-without-repro.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
echo $timeline > timeline.json
5555
5656
# Find the time when the label was added
57-
label_added_at=$(jq -c --arg label "$LABEL_NAME" 'map(select(.event=="labeled" and (.label.name | contains($label)))) | .[0].created_at' timeline.json)
57+
label_added_at=$(jq -c 'map(select(.event=="labeled" and (.label.name | contains("'$LABEL_NAME'")))) | .[0].created_at' timeline.json)
5858
5959
if [ "$label_added_at" != "null" ]; then
6060
label_added_at=$(echo $label_added_at | jq -r)

0 commit comments

Comments
 (0)