We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39fad7a commit 381175aCopy full SHA for 381175a
lib/travis/listener/schemas.rb
@@ -98,7 +98,7 @@ def self.event_details(event_type, payload)
98
repository: payload["repository"]["full_name"],
99
number: payload['number'],
100
action: payload['action'],
101
- source: payload['pull_request']['head']['repo']['full_name'],
+ source: payload['pull_request']['head']['repo'] && payload['pull_request']['head']['repo']['full_name'],
102
head: payload['pull_request']['head']['sha'][0..6],
103
ref: payload['pull_request']['head']['ref'],
104
user: payload['pull_request']['head']['user']['login'],
0 commit comments