We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2707646 commit 3f828ffCopy full SHA for 3f828ff
1 file changed
.github/workflows/script-cleanup.yml
@@ -33,9 +33,9 @@ jobs:
33
# don't exit on errors in this block
34
set +e
35
36
- echo "Attempting to delete all resource groups except 'exec-docs-ai'..."
+ echo "Attempting to delete all resource groups except 'exec-docs-ai' and those containing 'mcp'..."
37
echo "$rgs_json" |
38
- jq -r '.[] | select(.name != "exec-docs-ai") | .name' |
+ jq -r '.[] | select(.name != "exec-docs-ai" and (.name | contains("mcp") | not)) | .name' |
39
while read -r rg_name; do
40
if [[ -z "$rg_name" ]]; then
41
echo "Skipping empty resource group name."
0 commit comments