From 4b1ec206c113fcc513e665dd125fe9eccd7b5d27 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 29 Apr 2026 05:32:30 +0000 Subject: [PATCH] fix: remove unused error variable in catch block to fix lint Agent-Logs-Url: https://github.com/actions/labeler/sessions/7a6c6978-c912-4278-be03-f22f98e28f71 Co-authored-by: chiranjib-swain <196914770+chiranjib-swain@users.noreply.github.com> --- src/api/get-changed-pull-requests.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/get-changed-pull-requests.ts b/src/api/get-changed-pull-requests.ts index f8383891..effa9540 100644 --- a/src/api/get-changed-pull-requests.ts +++ b/src/api/get-changed-pull-requests.ts @@ -17,7 +17,7 @@ export async function* getPullRequests( pull_number: prNumber }); prData = result.data; - } catch (error: any) { + } catch { core.warning(`Could not find pull request #${prNumber}, skipping`); continue; }