We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0de4e4d commit 1e8f763Copy full SHA for 1e8f763
1 file changed
.github/workflows/close-project-issues.yml
@@ -116,7 +116,8 @@ jobs:
116
dry_run=${{ github.event.inputs.dry_run }}
117
echo "Label to create: $label"
118
if [ "$dry_run" = "false" ]; then
119
- if ! gh label list | grep -q "^$label$"; then
+ if ! gh label list --limit 100 | grep -q -w "$label"; then
120
+ echo "Creating label..."
121
gh label create "$label" --color FFFFFF
122
fi
123
0 commit comments