From 76a2b89d17641e5ee03272faeaefa4ebcc5a2403 Mon Sep 17 00:00:00 2001 From: autoantwort <41973254+autoantwort@users.noreply.github.com> Date: Tue, 5 Mar 2024 11:07:49 +0100 Subject: [PATCH] [bot] automatically handle "configure: error: 'autoconf-archive' is missing" (#37083) Automatically handle issues like https://github.com/microsoft/vcpkg/issues/36171 or https://github.com/microsoft/vcpkg/issues/37013 --- .github/workflows/check_issues.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/check_issues.yml b/.github/workflows/check_issues.yml index 6414668228..15e05e2aa7 100644 --- a/.github/workflows/check_issues.yml +++ b/.github/workflows/check_issues.yml @@ -70,3 +70,9 @@ jobs: let body = "The build failed due to an internal compiler error. Please update your compiler or revert to an old version." return await commentLabelClose(body, "category:question"); } + + // configure: error: 'autoconf-archive' is missing like #37013 + if (issue.data.body.indexOf("configure: error: 'autoconf-archive' is missing") !== -1){ + let body = "Please install `autoconf-archive` via `brew install autoconf-archive` (macos) or `sudo apt-get install autoconf-archive` (linux)" + return await commentLabelClose(body, "category:question"); + }