|
|
|
|
@ -13,6 +13,9 @@ on: |
|
|
|
|
- '.github/workflows/static-code-analysis.yml' |
|
|
|
|
- '**.php' |
|
|
|
|
|
|
|
|
|
permissions: |
|
|
|
|
contents: read |
|
|
|
|
|
|
|
|
|
concurrency: |
|
|
|
|
group: static-code-analysis-${{ github.head_ref || github.run_id }} |
|
|
|
|
cancel-in-progress: true |
|
|
|
|
@ -27,10 +30,11 @@ jobs: |
|
|
|
|
- name: Checkout |
|
|
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 |
|
|
|
|
with: |
|
|
|
|
persist-credentials: false |
|
|
|
|
submodules: true |
|
|
|
|
|
|
|
|
|
- name: Set up php |
|
|
|
|
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1 |
|
|
|
|
uses: shivammathur/setup-php@cf4cade2721270509d5b1c766ab3549210a39a2a #v2.33.0 |
|
|
|
|
with: |
|
|
|
|
php-version: '8.1' |
|
|
|
|
extensions: apcu,ctype,curl,dom,fileinfo,ftp,gd,imagick,intl,json,ldap,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip |
|
|
|
|
@ -57,10 +61,11 @@ jobs: |
|
|
|
|
- name: Checkout code |
|
|
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 |
|
|
|
|
with: |
|
|
|
|
persist-credentials: false |
|
|
|
|
submodules: true |
|
|
|
|
|
|
|
|
|
- name: Set up php |
|
|
|
|
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1 |
|
|
|
|
uses: shivammathur/setup-php@cf4cade2721270509d5b1c766ab3549210a39a2a #v2.33.0 |
|
|
|
|
with: |
|
|
|
|
php-version: '8.1' |
|
|
|
|
extensions: ctype,curl,dom,fileinfo,ftp,gd,imagick,intl,json,ldap,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip |
|
|
|
|
@ -78,7 +83,7 @@ jobs: |
|
|
|
|
|
|
|
|
|
- name: Upload Security Analysis results to GitHub |
|
|
|
|
if: always() |
|
|
|
|
uses: github/codeql-action/upload-sarif@v3 |
|
|
|
|
uses: github/codeql-action/upload-sarif@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3 |
|
|
|
|
with: |
|
|
|
|
sarif_file: results.sarif |
|
|
|
|
|
|
|
|
|
@ -91,10 +96,11 @@ jobs: |
|
|
|
|
- name: Checkout |
|
|
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 |
|
|
|
|
with: |
|
|
|
|
persist-credentials: false |
|
|
|
|
submodules: true |
|
|
|
|
|
|
|
|
|
- name: Set up php |
|
|
|
|
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1 |
|
|
|
|
uses: shivammathur/setup-php@cf4cade2721270509d5b1c766ab3549210a39a2a #v2.33.0 |
|
|
|
|
with: |
|
|
|
|
php-version: '8.1' |
|
|
|
|
extensions: ctype,curl,dom,fileinfo,gd,imagick,intl,json,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip |
|
|
|
|
@ -121,10 +127,11 @@ jobs: |
|
|
|
|
- name: Checkout |
|
|
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 |
|
|
|
|
with: |
|
|
|
|
persist-credentials: false |
|
|
|
|
submodules: true |
|
|
|
|
|
|
|
|
|
- name: Set up php |
|
|
|
|
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1 |
|
|
|
|
uses: shivammathur/setup-php@cf4cade2721270509d5b1c766ab3549210a39a2a #v2.33.0 |
|
|
|
|
with: |
|
|
|
|
php-version: '8.1' |
|
|
|
|
extensions: ctype,curl,dom,fileinfo,gd,imagick,intl,json,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip |
|
|
|
|
|