From 1b9a9f9a82399f3813d58abe92c22d33ae87d47b Mon Sep 17 00:00:00 2001 From: Ricardo Sanz Date: Mon, 8 Jan 2024 11:17:18 +0100 Subject: [PATCH] Added Action for composer with token to avoid errors when running tests This is not relates to this issue but required because tests won't pass without this. --- .github/workflows/tests.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d10b686..c89ff0f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -9,9 +9,16 @@ jobs: runs-on: ubuntu-latest steps: + - name: Checkout repository uses: actions/checkout@v2 + - name: Add composer + uses: php-actions/composer@v6 + env: + COMPOSER_AUTH: '{"github-oauth": {"github.com": "${{ secrets.PAT }}"} }' + + - name: Add HTTP basic auth credentials run: | echo "auth.json path: $GITHUB_WORKSPACE/auth.json"