forked from talosross/SummaryYou
-
Notifications
You must be signed in to change notification settings - Fork 6
31 lines (27 loc) · 792 Bytes
/
Copy pathdependency.yml
File metadata and controls
31 lines (27 loc) · 792 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: 'Dependency Review'
on:
push:
tags:
- 'v*'
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
dependency-review:
runs-on: ubuntu-latest
steps:
- name: 'Checkout Repository'
uses: actions/checkout@v4
- name: 'Dependency Review (Pull Request)'
if: github.event_name == 'pull_request'
uses: actions/dependency-review-action@v4
with:
fail-on-severity: 'high' # This is your custom setting
- name: 'Dependency Review (Manual)'
if: github.event_name == 'workflow_dispatch'
uses: actions/dependency-review-action@v4
with:
head-ref: ${{ github.ref }}
base-ref: ${{ github.event.repository.default_branch }}
fail-on-severity: 'high'