Skip to content

Commit

Permalink
Refresh checkruns when refreshing merge requests.
Browse files Browse the repository at this point in the history
  • Loading branch information
ajshepley committed May 7, 2021
1 parent 12e3c00 commit 49541c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/shipit/merge_request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ def merged_upstream?
def refresh!
update!(github_pull_request: stack.github_api.pull_request(stack.github_repo_name, number))
head.refresh_statuses!
head.refresh_check_runs!
fetched! if fetching?
@comparison = nil
end
Expand Down

0 comments on commit 49541c5

Please sign in to comment.