Skip to content

Commit ad55ae1

Browse files
committed
add an option to disable composer audits
1 parent eeb9116 commit ad55ae1

3 files changed

Lines changed: 11 additions & 0 deletions

File tree

‎.github/workflows/tests.yml‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,18 @@ on:
6464
description: A comma separated list of linux packages which should be installed.
6565
required: false
6666
type: string
67+
DISABLE_COMPOSER_AUDIT:
68+
description: Whether to disable the composer audit check.
69+
required: false
70+
type: boolean
71+
default: false
6772

6873
jobs:
6974
execute-tests:
75+
env:
76+
COMPOSER_NO_AUDIT:
77+
${{ inputs.DISABLE_COMPOSER_AUDIT == true && 1 || 0 } }
78+
7079
runs-on: ubuntu-latest
7180
services:
7281
database:

‎examples/tests-multiple-db-images.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,4 @@ jobs:
5858
DEPENDENCY_VERSION: ${{ matrix.dependency-version }}
5959
# TEST_COMMANDS: vendor/bin/phpunit -c phpunit-ci.xml.dist
6060
# LINUX_PACKAGES: imagemagick jpegoptim optipng pngquant gifsicle webp ffmpeg
61+
# DISABLE_COMPOSER_AUDIT: true

‎examples/tests.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,4 @@ jobs:
2626
DEPENDENCY_VERSION: ${{ matrix.dependency-version }}
2727
# TEST_COMMANDS: vendor/bin/phpunit -c phpunit-ci.xml.dist
2828
# LINUX_PACKAGES: imagemagick jpegoptim optipng pngquant gifsicle webp ffmpeg
29+
# DISABLE_COMPOSER_AUDIT: true

0 commit comments

Comments
 (0)