Skip to content

Use plugin-check GitHub workflow in favor of brittle plugin-check PHPCS checks #106

Use plugin-check GitHub workflow in favor of brittle plugin-check PHPCS checks

Use plugin-check GitHub workflow in favor of brittle plugin-check PHPCS checks #106

# Dependency Review Action
#
# This Action will scan dependency manifest files that change as part of a Pull Request, surfacing known-vulnerable versions of the packages declared or updated in the PR. Once installed, if the workflow run is marked as required, PRs introducing known-vulnerable packages will be blocked from merging.
#
# Source repository: https://github.com/actions/dependency-review-action
# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement
name: Dependency Review
on: [pull_request]
# Disable permissions for all available scopes by default.
# Any needed permissions should be configured at the job level.
permissions: {}
jobs:
dependency-review:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout Repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Dependency Review
uses: actions/dependency-review-action@3c4e3dcb1aa7874d2c16be7d79418e9b7efd6261 # v4.8.2
with:
license-check: true
vulnerability-check: false # Since we only want to use the license check, we need to set this to false as otherwise the default is true.
show-openssf-scorecard: false # Since we only want to use the license check, we need to set this to false as otherwise the default is true.
config-file: './.github/dependency-review-config.yml'