Commit 1a45fda
fix: address PR review comments and CI failures
Fix composite action issues identified in review:
1. updater/action.yml:
- Fix secrets.GITHUB_TOKEN reference to use inputs.api-token instead
- Composite actions cannot access secrets context directly
- GH_TOKEN now properly uses the api-token input parameter
2. danger/action.yml:
- Add volume mount for GitHub event file: --volume ${{ github.event_path }}:${{ github.event_path }}
- This ensures Danger has access to pull request context data
- Fixes 'Cannot read property pull_request of undefined' error
These changes resolve the CI test failures and address the security
concern raised by seer-by-sentry bot about incorrect secrets usage.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>1 parent f4ec559 commit 1a45fda
2 files changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
| 137 | + | |
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| |||
0 commit comments