glassmonkey / actions-php-audit

Github Action for PHP Audit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Github Action for PHP Audit

Using security-checker on Github Actions
This Action report PHP Security infomation as a issue.
e.g. #4

Usage

.github/workflows/checker.yml

name: Alert Composer Audit
on:
  schedule:
    - cron: 0 0 * * 0 # At 00:00 on Sunday.
jobs:
  check-validate:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1
      - uses: glassmonkey/actions-php-audit@v1
        with:
          WORK_DIR: path/to/dir # Relative path of the directory where composer.lock exists
          ISSUE_LABELS: bugs # Apply labels to a issue. 
         env:
          GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

Locally Run

You can run with A sample composer.lock

docker-composer run app

License

MIT

About

Github Action for PHP Audit

License:MIT License


Languages

Language:Go 70.6%Language:Shell 17.2%Language:Dockerfile 12.2%