-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Danger - check for unpinned actions (#39)
* feat: Danger - check for unpinned actions * chore: update changelog * chore: 2.2.0 in changelog
- Loading branch information
Showing
3 changed files
with
85 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Contributing | ||
|
||
## How to run dangerfile locally | ||
|
||
- [Working on your Dangerfile](https://danger.systems/js/guides/the_dangerfile.html#working-on-your-dangerfile) | ||
- [Using danger and Faking being on a CI](https://danger.systems/js/guides/the_dangerfile.html#using-danger-and-faking-being-on-a-ci) | ||
|
||
## TLDR | ||
|
||
```shell-script | ||
export DANGER_GITHUB_API_TOKEN='XXX' | ||
export DANGER_FAKE_CI="YEP" | ||
export DANGER_TEST_REPO='username/reponame' | ||
cd reponame | ||
export DANGER_TEST_PR='1234' | ||
git checkout branch-for-pr-1234 | ||
npx danger ci --text-only --failOnErrors --dangerfile=../github-workflows/danger/dangerfile.js | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters