Skip to content

Commit dd0344f

Browse files
committed
ci: fix and upgrade workflow
1 parent c6916c3 commit dd0344f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ jobs:
7979
continue-on-error: ${{ matrix.allow_fail }}
8080

8181
- name: Check for vulnerabilities
82+
if: ${{ contains(matrix.composer_update_flags, '--prefer-lowest') == false }}
8283
run: composer security-checker
8384
continue-on-error: ${{ matrix.allow_fail }}
8485

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
}
5050
},
5151
"scripts": {
52-
"security-checker": "security-checker security:check"
52+
"security-checker": "security-checker security:check --no-dev"
5353
},
5454
"scripts-descriptions": {
5555
"security-checker": "Checks if your application uses dependencies with known security vulnerabilities."

0 commit comments

Comments
 (0)