From 4a0f9a8513720d04b0aebcce76bd31722b47f878 Mon Sep 17 00:00:00 2001 From: Peter Evans <18365890+peter-evans@users.noreply.github.com> Date: Fri, 16 Aug 2024 17:11:29 +0000 Subject: [PATCH] remove deprecated env output --- dist/index.js | 2 -- src/create-pull-request.ts | 2 -- 2 files changed, 4 deletions(-) diff --git a/dist/index.js b/dist/index.js index e1657f8..aed83be 100644 --- a/dist/index.js +++ b/dist/index.js @@ -498,8 +498,6 @@ function createPullRequest(inputs) { else if (result.action == 'updated') { outputs.set('pull-request-operation', 'updated'); } - // Deprecated - core.exportVariable('PULL_REQUEST_NUMBER', pull.number); core.endGroup(); } else { diff --git a/src/create-pull-request.ts b/src/create-pull-request.ts index 1705dcb..e0f690d 100644 --- a/src/create-pull-request.ts +++ b/src/create-pull-request.ts @@ -249,8 +249,6 @@ export async function createPullRequest(inputs: Inputs): Promise { } else if (result.action == 'updated') { outputs.set('pull-request-operation', 'updated') } - // Deprecated - core.exportVariable('PULL_REQUEST_NUMBER', pull.number) core.endGroup() } else { // There is no longer a diff with the base