Skip to content

Commit c40538e

Browse files
committed
Update file(s) from wp-cli/.github
1 parent 338dcd2 commit c40538e

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

.github/workflows/code-quality.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ jobs:
3333
with:
3434
php-version: '7.4'
3535
tools: cs2pr
36+
env:
37+
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3638

3739
- name: Install Composer dependencies & cache dependencies
3840
if: steps.check_composer_file.outputs.files_exists == 'true'
@@ -70,6 +72,8 @@ jobs:
7072
with:
7173
php-version: '7.4'
7274
tools: cs2pr
75+
env:
76+
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7377

7478
- name: Install Composer dependencies & cache dependencies
7579
if: steps.check_files.outputs.files_exists == 'true'

.github/workflows/regenerate-readme.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
paths-ignore:
99
- 'features/**'
1010
- 'README.md'
11-
11+
1212
# Cancels all previous workflow runs for the same branch that have not yet completed.
1313
concurrency:
1414
# The concurrency group contains the workflow name and the branch name.
@@ -30,6 +30,8 @@ jobs:
3030
uses: shivammathur/setup-php@v2
3131
with:
3232
php-version: '7.4'
33+
env:
34+
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3335

3436
- name: Check existence of composer.json file
3537
id: check_composer_file

.github/workflows/testing.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ jobs:
3939
php-version: '${{ matrix.php }}'
4040
coverage: none
4141
tools: composer,cs2pr
42+
env:
43+
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4244

4345
- name: Install Composer dependencies & cache dependencies
4446
if: steps.check_files.outputs.files_exists == 'true'
@@ -120,6 +122,8 @@ jobs:
120122
extensions: gd, imagick, mysql, zip
121123
coverage: none
122124
tools: composer
125+
env:
126+
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
123127

124128
- name: Change ImageMagick policy to allow pdf->png conversion.
125129
if: steps.check_files.outputs.files_exists == 'true'

0 commit comments

Comments
 (0)