Skip to content
This repository has been archived by the owner on Aug 30, 2022. It is now read-only.
/ peril Public archive

Danger scripts used by Taqtile projects

Notifications You must be signed in to change notification settings

indigotech/peril

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Taqtile peril

More info at danger/peril

Local test

We need to validate if a PR againt peril setup locally,the simplest way is:

  • Use node >= 6.5.0
  • Run yarn install
  • Edit a dangerfile in use like issues.ts or pr.ts with new checks
  • Export your danger github token
  • Run yarn danger -- pr <URL_pr_to_be_tested> --dangerfile ./dangerfiles/<dangerfile_you_edited>.ts (you can pick any open pull request)

Changing Danger rules

All current rules are being done via Taqtile's Danger plugin, which allows any developer adding specific rules with tests to ensure it works.

Check indigotech/dangerjs-plugin to know what it being currently checked and/or add your rules.

Troubleshooting

It is asking me for a DANGER_GITHUB_API_TOKEN

Local repository was not found on GitHub. If you're trying to test a private repository please provide a valid API token through DANGER_GITHUB_API_TOKEN environment variable.

  1. Create a github Personal Access Token
  2. Export it to an environment variable
$ export DANGER_GITHUB_API_TOKEN=your token here

About

Danger scripts used by Taqtile projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published