Skip to content

Commit 7c3d194

Browse files
authored
Add PHP dependencies security check workflow (#2639)
1 parent e83f359 commit 7c3d194

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/security-php.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: PHP Security Check
2+
3+
on:
4+
# Run automatically every Monday on midnight.
5+
schedule:
6+
- '0 0 * * 1'
7+
# Run on pull requests only when composer.lock has changed.
8+
pull_request:
9+
paths:
10+
- 'composer.lock'
11+
# Allow manually triggering the workflow.
12+
workflow_dispatch:
13+
14+
jobs:
15+
check:
16+
runs-on: ubuntu-latest
17+
18+
steps:
19+
- uses: actions/checkout@v3
20+
21+
- uses: actions/cache@v2
22+
id: cache-db
23+
with:
24+
path: ~/.symfony/cache
25+
key: db
26+
27+
- uses: symfonycorp/security-checker-action@v4

0 commit comments

Comments
 (0)