Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save MaksimAbramchuk/e24b3a601fd82e594b3e to your computer and use it in GitHub Desktop.
Save MaksimAbramchuk/e24b3a601fd82e594b3e to your computer and use it in GitHub Desktop.
export GITHUB_ACCESS_TOKEN=<your_github_access_token>
export PULL_REQUEST_URL=${CI_PULL_REQUEST}
export PULL_REQUEST_ID=`echo $PULL_REQUEST_URL | grep -o -E ‘[0–9]+$’ | head -1 | sed -e ‘s/^0\+//’`
((bin/bundle exec pronto run -f github_pr -c origin/master)) || true
@gkop
Copy link

gkop commented Mar 5, 2016

FYI you pass smart quotes to sed that sed does not like in Circle's default environment. Also I am running into trouble with the double set of parens at line 4 - my personal zsh and bash in circle do not like them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment