Skip to content

Commit 7460ef0

Browse files
authored
Update close-innactive-issues-without-repro.yaml
jq tweak to check for label. 3rd time is charm
1 parent b58e3d0 commit 7460ef0

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 'map(select(.event=="labeled" and (.label.name | contains("'$LABEL_NAME'")))) | .[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)