From b2a000c2ca3711f607fdf61b0ebc9a6dd098b30f Mon Sep 17 00:00:00 2001 From: Siddharth Kshetrapal Date: Tue, 5 Nov 2024 18:40:54 +0100 Subject: [PATCH] Update check-for-integration-result.yml --- .github/workflows/check-for-integration-result.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/check-for-integration-result.yml b/.github/workflows/check-for-integration-result.yml index b9fee6b0431..4021f29fad6 100644 --- a/.github/workflows/check-for-integration-result.yml +++ b/.github/workflows/check-for-integration-result.yml @@ -38,8 +38,12 @@ jobs: labels: [pass ? 'integration-tests: passing' : 'integration-tests: failing'], }) - await github.rest.issues.removeLabel({ - ...issue, - name: ['integration-tests: recommended'], - }) + try { + await github.rest.issues.removeLabel({ + ...issue, + name: ['integration-tests: recommended'], + }) + } catch (erorr) { + console.log(error) // no need to fail + }