Skip to content

Commit e73af89

Browse files
authored
Update dependency-review.yml
Updated the trigger definition
1 parent 486d6a2 commit e73af89

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/dependency-review.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,15 @@
55
# Source repository: https://github.com/actions/dependency-review-action
66
# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement
77
name: 'Dependency Review'
8-
on: [pull_request]
8+
on:
9+
# Triggers the workflow on push or pull request events but only for the "main" branch
10+
push:
11+
branches: [ "main" ]
12+
pull_request:
13+
branches: [ "main" ]
14+
# Allows you to run this workflow manually from the Actions tab
15+
workflow_dispatch:
16+
917

1018
permissions:
1119
contents: read

0 commit comments

Comments
 (0)