We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ea558e commit bb2d71bCopy full SHA for bb2d71b
.github/workflows/close-innactive-issues-without-repro.yaml
@@ -54,7 +54,7 @@ jobs:
54
echo $timeline > timeline.json
55
56
# 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)
+ label_added_at=$(jq -c --arg label "$LABEL_NAME" 'map(select(.event=="labeled" and (.label.name | contains($label)))) | .[0].created_at' timeline.json)
58
59
if [ "$label_added_at" != "null" ]; then
60
label_added_at=$(echo $label_added_at | jq -r)
0 commit comments