[github workflow] auto close issues about gitlab.freedesktop.org (#44454)

This commit is contained in:
autoantwort 2025-03-19 07:41:56 +01:00 committed by GitHub
parent edd0213d96
commit 0c8d0d579a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 0 deletions

View File

@ -44,6 +44,13 @@ jobs:
return await commentLabelClose(body, "category:question");
}
// https://gitlab.freedesktop.org maintenance
reg = /error: https:\/\/gitlab\.freedesktop\.org\/.*: failed: status code 503/;
if (reg.test(issue_body)){
let body = "gitlab.freedesktop.org is undergoing maintenance until 2025-03-22. Tracking issue https://github.com/microsoft/vcpkg/issues/44429"
return await commentLabelClose(body, "category:question");
}
regs = []
// Issue text is: Copy issue body from .../issue_body.md
regs.push( /^Copy issue body from .*issue_body.md$/ );