Skip to content

Commit 60976ec

Browse files
authored
Workflow refinements (#113)
The dependency-review-action requires both a base and head ref to compare dependency changes, which are only available in pull request-related events (pull_request, pull_request_target, or merge_group). On a push event, these refs are not present, so the action cannot run and shall fail with this error.
1 parent 014bf3d commit 60976ec

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

.github/workflows/dependency-review.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ on:
1717
- 'go.sum'
1818
- 'makefile'
1919
- '!**/*.md'
20-
push:
21-
branches: [ main ]
2220

2321
concurrency:
2422
group: ${{ github.workflow }}-${{ github.ref }}

0 commit comments

Comments
 (0)