Created
May 8, 2022 00:06
-
-
Save ardydedase/06ca0f093e692524fed6623bc0457800 to your computer and use it in GitHub Desktop.
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
# Meant to be used locally for testing. | |
steps: | |
- name: node:16 | |
env: | |
- 'DANGER_MANUAL_CI=CloudBuild' | |
- 'DANGER_MANUAL_GH_REPO=ardydedase/danger-example' | |
# TODO: Replace with your own GitHub token | |
# - 'DANGER_GITHUB_API_TOKEN=<REPLACE_WITH_YOUR_GH_TOKEN>' | |
args: | |
- '-c' | |
- | | |
echo "Running Danger build..." | |
npm install | |
# PR number is hardcoded for local testing | |
DANGER_MANUAL_PR_NUM=1 node_modules/danger/distribution/commands/danger-ci.js | |
id: danger-code-review | |
waitFor: | |
- '-' | |
entrypoint: bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment