From 38922d90b5911d3ec554e529295d314883620890 Mon Sep 17 00:00:00 2001 From: HarithaVattikuti <73516759+HarithaVattikuti@users.noreply.github.com> Date: Wed, 15 Jan 2025 15:48:30 -0600 Subject: [PATCH] Update warning --- dist/index.js | 2 +- src/labeler.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 2e4759da..327f2d23 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1087,7 +1087,7 @@ function labeler() { error.message !== 'Resource not accessible by integration') { throw error; } - core.warning(`The action requires write permission to add labels to pull requests. For more information please refer to the action documentation: https://github.com/actions/labeler#permissions`, { + core.warning(`The action requires write permission to add labels to pull requests. For more information please refer to the action documentation: https://github.com/actions/labeler#recommended-permissions`, { title: `${process.env['GITHUB_ACTION_REPOSITORY']} running under '${github.context.eventName}' is misconfigured` }); core.setFailed(error.message); diff --git a/src/labeler.ts b/src/labeler.ts index a1f0ab98..81654439 100644 --- a/src/labeler.ts +++ b/src/labeler.ts @@ -72,7 +72,7 @@ async function labeler() { } core.warning( - `The action requires write permission to add labels to pull requests. For more information please refer to the action documentation: https://github.com/actions/labeler#permissions`, + `The action requires write permission to add labels to pull requests. For more information please refer to the action documentation: https://github.com/actions/labeler#recommended-permissions`, { title: `${process.env['GITHUB_ACTION_REPOSITORY']} running under '${github.context.eventName}' is misconfigured` }