Skip to content

Commit 30f76ee

Browse files
vaindclaude
andcommitted
fix: download dangerfile-utils.js in danger workflow
The dangerfile now requires the utils module, so both files need to be downloaded. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent c5efc86 commit 30f76ee

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/danger.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,10 @@ jobs:
2222
with:
2323
fetch-depth: 0
2424

25-
- name: Download dangerfile.js
26-
run: wget https://raw.githubusercontent.com/getsentry/github-workflows/${{ inputs._workflow_version }}/danger/dangerfile.js -P ${{ runner.temp }}
25+
- name: Download dangerfile.js and utilities
26+
run: |
27+
wget https://raw.githubusercontent.com/getsentry/github-workflows/${{ inputs._workflow_version }}/danger/dangerfile.js -P ${{ runner.temp }}
28+
wget https://raw.githubusercontent.com/getsentry/github-workflows/${{ inputs._workflow_version }}/danger/dangerfile-utils.js -P ${{ runner.temp }}
2729
2830
# Using a pre-built docker image in GitHub container registry instaed of NPM to reduce possible attack vectors.
2931
- name: Run DangerJS

0 commit comments

Comments
 (0)