Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

Addition of security audit tools to github actions #91

Open
wants to merge 1 commit into
base: 2.x
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,19 @@ jobs:
uses: docker://hussainweb/drupalqa:php7.4
with:
args: phpcs -p -n --standard="Drupal" --extensions="php,module,inc,install,test,profile,theme,css,info,txt,md,yml" . --ignore=vendor
security_check:
name: Check codebase for security vulnerability
runs-on: ubuntu-latest
steps:
- name: Checkout the dvf repo
uses: actions/checkout@v2
- name: local-php-security-checker
# Checks composer dependencies for known security vulnerabilities (https://github.com/fabpot/local-php-security-checker)
uses: docker://jakzal/phpqa:php7.4-alpine
with:
args: local-php-security-checker .
- name: phpcs-security-audit
# Finds vulnerabilities and weaknesses related to security in PHP code (https://github.com/FloeDesignTechnologies/phpcs-security-audit)
uses: docker://jakzal/phpqa:php7.4-alpine
with:
args: phpcs -p -n --standard="Security" --extensions="php,module,inc,install,test,profile,theme" . --ignore=vendor