Document update - permission section (#840)

* Update Section

* Update warning
This commit is contained in:
HarithaVattikuti
2025-01-16 08:46:55 -06:00
committed by GitHub
parent d24f7f3731
commit 3629d5568b
3 changed files with 9 additions and 3 deletions

View File

@@ -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`
}