Skip to content

Adding psalm code scanning custom workflow to scan PHP code #1

Adding psalm code scanning custom workflow to scan PHP code

Adding psalm code scanning custom workflow to scan PHP code #1

name: Static Code Security Analysis (psalm)
on:
push:
branches: [ develop-retail, main ]
pull_request:
branches: [ develop-retail, main ]
jobs:
analyze:
permissions:
actions: read
contents: read
security-events: write
uses: lightspeed-security/code-scanning-workflows/.github/workflows/psalm-php.yml@main

Check failure on line 15 in .github/workflows/php-code_scanning.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/php-code_scanning.yml

Invalid workflow file

error parsing called workflow ".github/workflows/php-code_scanning.yml" -> "lightspeed-security/code-scanning-workflows/.github/workflows/psalm-php.yml@main" : workflow was not found. See https://docs.github.com/actions/learn-github-actions/reusing-workflows#access-to-reusable-workflows for more information.
with:
composer_ignore_platform_reqs: 'true'
run: composer remove lightspeedhq/our-private-dependency --no-scripts --no-progress --ignore-platform-reqs