Skip to content

Instantly share code, notes, and snippets.

@chrismytton
Created April 5, 2016 17:00
Show Gist options
  • Save chrismytton/c011b99228ec51f9563b3049f5d02398 to your computer and use it in GitHub Desktop.
Save chrismytton/c011b99228ec51f9563b3049f5d02398 to your computer and use it in GitHub Desktop.
Rerun the review_changes app over all open PRs
heroku run -- \
ruby -r ./app -e \
'ARGV.each { |pr| PullRequestReview.perform_async(pr.to_i) }' \
$(curl -s 'https://api.github.com/repos/everypolitician/everypolitician-data/pulls?per_page=100' | jq '.[] | .number')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment