diff --git a/lib/action.rb b/lib/action.rb index d27afcf..5ba60e1 100644 --- a/lib/action.rb +++ b/lib/action.rb @@ -13,7 +13,7 @@ config = GithubApiConfig.new puts "Event: #{config.event_name} called" case config.event_name - when 'pull_request' + when 'pull_request', 'pull_request_target' if config.event_payload['action'] == 'opened' || config.event_payload['action'] == 'synchronize' puts 'Pull request is opened or synchronized' puts '============================================='