-
-
Notifications
You must be signed in to change notification settings - Fork 78
36 lines (31 loc) · 1004 Bytes
/
security.yaml
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
32
33
34
35
36
name: Security
on:
push:
branches: [ main ]
pull_request: ~
release:
types: [ created ]
schedule:
# Do not make it the first of the month and/or midnight since it is a very busy time
- cron: "* 10 5 * *"
# See https://stackoverflow.com/a/72408109
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
security:
runs-on: ubuntu-latest
name: Check Dependencies
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Cache the vulnerability database
uses: actions/cache@v4
id: cache-db
with:
path: ~/.symfony/cache
key: db
- name: Checks dependencies for known vulnerabilities
uses: symfonycorp/security-checker-action@v5