Skip to content

Commit

Permalink
Use travis pull request number instead of commit sha
Browse files Browse the repository at this point in the history
  • Loading branch information
abelsiqueira committed Jan 25, 2020
1 parent ecc7a32 commit cd1c751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test-breakage-deploy.jl
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function test_breakage_deploy()
prs = pull_requests(myrepo, auth=myauth)
pr = nothing
for p in prs[1]
if p.merge_commit_sha == ENV["TRAVIS_COMMIT"]
if p.number == Meta.parse(ENV["TRAVIS_PULL_REQUEST"])
pr = p
end
end
Expand Down

0 comments on commit cd1c751

Please sign in to comment.