for circleci danger
ruby:2.3.1-alpine
Cannot build with
- ruby:2.4.*
- ruby:2.5.*
docker pull jkkitakita/circleci-danger
-
Setting up for danger to use with CircleCI
https://danger.systems/guides/getting_started.html#setting-up-an-access-token
ex. AddDANGER_GITHUB_API_TOKEN
to Project's Environments or Contexts
cf. CircleCI 2.0 - Contexts https://circleci.com/docs/2.0/contexts/ -
Add danger job to
.circleci/config.yml
## Example of .circleci/config.yml
version: 2
jobs:
danger:
docker:
- image: jkkitakita/circleci-danger
steps:
- checkout
- run: cp -f ~/danger/Dangerfile .
- run: bundle exec danger --fail-on-errors=true
workflows:
version: 2
danger:
jobs:
- danger
# When you use contexts
# - danger:
# context: danger