From 7331fad758a4bb6b6fc296a06775f00817884c32 Mon Sep 17 00:00:00 2001 From: Salman Muin Kayser Chishti Date: Fri, 10 Apr 2026 22:54:40 +0100 Subject: [PATCH] Add permission-discussions input to action.yml The discussions permission is already handled at runtime via process.env but was not declared in action.yml, causing an 'Unexpected input' warning when users set it. This adds the missing input declaration to match the other permission inputs. --- action.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/action.yml b/action.yml index ba4e915..832c7ae 100644 --- a/action.yml +++ b/action.yml @@ -43,6 +43,8 @@ inputs: description: "The level of permission to grant the access token to manage Dependabot secrets. Can be set to 'read' or 'write'." permission-deployments: description: "The level of permission to grant the access token for deployments and deployment statuses. Can be set to 'read' or 'write'." + permission-discussions: + description: "The level of permission to grant the access token for discussions. Can be set to 'read' or 'write'." permission-email-addresses: description: "The level of permission to grant the access token to manage the email addresses belonging to a user. Can be set to 'read' or 'write'." permission-enterprise-custom-properties-for-organizations: