Skip to content

Commit

Permalink
Merge pull request #16 from simplybusiness/handle-pull-request-target
Browse files Browse the repository at this point in the history
Handle pull_request_target
  • Loading branch information
addersuk authored Sep 10, 2021
2 parents 0968348 + 0c90a5d commit 9d8c231
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/action.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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 '============================================='
Expand Down

0 comments on commit 9d8c231

Please sign in to comment.