diff --git a/.github/workflows/php-code_scanning.yml b/.github/workflows/php-code_scanning.yml new file mode 100644 index 00000000..057ec392 --- /dev/null +++ b/.github/workflows/php-code_scanning.yml @@ -0,0 +1,18 @@ +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 + with: + composer_ignore_platform_reqs: 'true' + run: composer remove lightspeedhq/our-private-dependency --no-scripts --no-progress --ignore-platform-reqs \ No newline at end of file