Skip to content
droplet

GitHub Action

Drupal package security scanner

1.0.0 Latest version

Drupal package security scanner

droplet

Drupal package security scanner

Checks for Drupal package security advisories

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Drupal package security scanner

uses: lpeabody/drupal-security-action@1.0.0

Learn more about this action in lpeabody/drupal-security-action

Choose a version

Drupal Security Github Action

Github Action for using the lpeabody/drupal-security Docker image to check Drupal package security advisories.

Usage

With composer.json and composer.lock in the current working directory:

jobs:
  check-security:
    ...
    - uses: lpeabody/drupal-security-action@1.0.0

With composer.json and composer.lock elsewhere, specify the path to the directory which contains those files:

jobs:
  check-security:
    ...
    - uses: lpeabody/drupal-security-action@1.0.0
      working-directory: /path/to/composer/files

If you need to whitelist a security package due to false positives (or you just want to ignore this youshouldneverignoresecuritywarnings), add a comma-separated list of package names and version pairings:

jobs:
  check-security:
    ...
    - uses: lpeabody/drupal-security-action@1.0.0
      with:
        allowed: 'drupal/group:1.0.0-rc5,drupal/false_positive:5.2.0'