diff --git a/src/handlers/deployment-protection-rule.ts b/src/handlers/deployment-protection-rule.ts index ab79ea1..b96b44b 100644 --- a/src/handlers/deployment-protection-rule.ts +++ b/src/handlers/deployment-protection-rule.ts @@ -41,7 +41,14 @@ export async function handleDeploymentProtectionRule( return; } - if (!['pull_request', 'pull_request_target', 'push'].includes(event)) { + if ( + ![ + 'pull_request', + 'pull_request_target', + 'push', + 'workflow_dispatch', + ].includes(event) + ) { context.log.info( 'Ignoring unsupported deployment protection rule event: %s', event,