Last active
May 15, 2022 15:45
-
-
Save ardydedase/469e56097c311b633015ba16cce76dfa 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
steps: | |
- name: node:16 | |
env: | |
- 'DANGER_MANUAL_CI=CloudBuild' | |
- 'DANGER_MANUAL_GH_REPO=ardydedase/danger-example' | |
args: | |
- '-c' | |
- | | |
echo "Running Danger build..." | |
npm install | |
# PR number is hardcoded for local testing | |
DANGER_MANUAL_PR_NUM=$_PR_NUMBER node_modules/danger/distribution/commands/danger-ci.js | |
id: danger-code-review | |
waitFor: | |
- '-' | |
entrypoint: bash | |
secretEnv: | |
- DANGER_GITHUB_API_TOKEN | |
availableSecrets: | |
secretManager: | |
- versionName: projects/$PROJECT_ID/secrets/<my-github-token-key>/versions/1 | |
env: DANGER_GITHUB_API_TOKEN |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment