Skip to content

Commit 0c8d0d5

Browse files
authored
[github workflow] auto close issues about gitlab.freedesktop.org (#44454)
1 parent edd0213 commit 0c8d0d5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/check_issues.yml

+7
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ jobs:
4444
return await commentLabelClose(body, "category:question");
4545
}
4646
47+
// https://gitlab.freedesktop.org maintenance
48+
reg = /error: https:\/\/gitlab\.freedesktop\.org\/.*: failed: status code 503/;
49+
if (reg.test(issue_body)){
50+
let body = "gitlab.freedesktop.org is undergoing maintenance until 2025-03-22. Tracking issue https://github.com/microsoft/vcpkg/issues/44429"
51+
return await commentLabelClose(body, "category:question");
52+
}
53+
4754
regs = []
4855
// Issue text is: Copy issue body from .../issue_body.md
4956
regs.push( /^Copy issue body from .*issue_body.md$/ );

0 commit comments

Comments
 (0)