Warning This repository is no longer maintained
danger-favro
A Danger plugin that detect Favro cards referenced in code or PR title and displays basic information about them.
Example
Usage
Initiate the checkfavro.check( user_name: "api-user", api_token: "api-token", organization_id: "org-id", key: "Test" )
Environment variables can also be used.ENV["DANGER_FAVRO_USER_NAME"] = "api-user" ENV["DANGER_FAVRO_API_TOKEN"] = "api-token" ENV["DANGER_FAVRO_ORGANIZATION_ID"] = "org-id"favro.check(key: "Test")
Methods
check
- Check for cards.
Development
- Clone this repo
- Run
bundle install
to setup dependencies. - Run
bundle exec rake spec
to run the tests. - Use
bundle exec guard
to automatically have tests run as you make changes. - Make your changes.