From 280e6c6a2e2b2f824e631a1a4b8b9c4a27447b19 Mon Sep 17 00:00:00 2001 From: schlessera Date: Thu, 9 Dec 2021 21:39:36 +0000 Subject: [PATCH] Update file(s) from wp-cli/.github --- .github/workflows/code-quality.yml | 4 ++++ .github/workflows/regenerate-readme.yml | 4 +++- .github/workflows/testing.yml | 4 ++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index af93a947..5b265176 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -33,6 +33,8 @@ jobs: with: php-version: '7.4' tools: cs2pr + env: + COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Install Composer dependencies & cache dependencies if: steps.check_composer_file.outputs.files_exists == 'true' @@ -70,6 +72,8 @@ jobs: with: php-version: '7.4' tools: cs2pr + env: + COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Install Composer dependencies & cache dependencies if: steps.check_files.outputs.files_exists == 'true' diff --git a/.github/workflows/regenerate-readme.yml b/.github/workflows/regenerate-readme.yml index d9324a74..525a445e 100644 --- a/.github/workflows/regenerate-readme.yml +++ b/.github/workflows/regenerate-readme.yml @@ -8,7 +8,7 @@ on: paths-ignore: - 'features/**' - 'README.md' - + # Cancels all previous workflow runs for the same branch that have not yet completed. concurrency: # The concurrency group contains the workflow name and the branch name. @@ -30,6 +30,8 @@ jobs: uses: shivammathur/setup-php@v2 with: php-version: '7.4' + env: + COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Check existence of composer.json file id: check_composer_file diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index d10cb159..bc799f84 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -39,6 +39,8 @@ jobs: php-version: '${{ matrix.php }}' coverage: none tools: composer,cs2pr + env: + COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Install Composer dependencies & cache dependencies if: steps.check_files.outputs.files_exists == 'true' @@ -120,6 +122,8 @@ jobs: extensions: gd, imagick, mysql, zip coverage: none tools: composer + env: + COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Change ImageMagick policy to allow pdf->png conversion. if: steps.check_files.outputs.files_exists == 'true'