Skip to content

Commit 163cfe0

Browse files
committed
feat: support passing of composer_auth to the workflow and environment
1 parent 4f4977b commit 163cfe0

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/REUSABLE_backend.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,15 @@ on:
4545
required: false
4646
default: error_reporting=E_ALL
4747

48+
secrets:
49+
composer_auth:
50+
description: The Composer auth tokens to use for private packages.
51+
required: false
52+
4853
env:
4954
COMPOSER_ROOT_VERSION: dev-main
5055
FLARUM_TEST_TMP_DIR_LOCAL: tests/integration/tmp
56+
COMPOSER_AUTH: ${{ secrets.composer_auth }}
5157

5258
jobs:
5359
test:

.github/workflows/REUSABLE_frontend.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,15 @@ on:
9090
bundlewatch_github_token:
9191
description: The GitHub token to use for Bundlewatch.
9292
required: false
93+
composer_auth:
94+
description: The Composer auth tokens to use for private packages.
95+
required: false
9396

9497
env:
9598
COMPOSER_ROOT_VERSION: dev-main
9699
ci_script: ${{ inputs.js_package_manager == 'yarn' && 'yarn install --immutable' || 'npm ci' }}
97100
cache_dependency_path: ${{ inputs.cache_dependency_path || format(inputs.js_package_manager == 'yarn' && '{0}/yarn.lock' || '{0}/package-lock.json', inputs.frontend_directory) }}
101+
COMPOSER_AUTH: ${{ secrets.composer_auth }}
98102

99103
jobs:
100104
build:

0 commit comments

Comments
 (0)