From 92b206d6bdede68751bf835a4c31cc2ac78c5912 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Niedzielski?= Date: Wed, 7 Jan 2026 09:42:57 +0100 Subject: [PATCH 1/2] Fixed CI action for forks in open source --- actions/composer-install/action.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/actions/composer-install/action.yml b/actions/composer-install/action.yml index 22b3ad6..75ce8a0 100644 --- a/actions/composer-install/action.yml +++ b/actions/composer-install/action.yml @@ -25,7 +25,8 @@ inputs: runs: using: "composite" steps: - - uses: actions/create-github-app-token@v2 + - if: ${{ inputs.gh-client-id != '' && inputs.gh-client-secret != '' }} + uses: actions/create-github-app-token@v2 id: generate_token with: app-id: ${{ inputs.gh-client-id }} From e91799926edb75e05355d7446a9c54563989f465 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Niedzielski?= Date: Tue, 20 Jan 2026 11:42:33 +0100 Subject: [PATCH 2/2] Fixed CI action for forks in open source --- .github/workflows/browser-tests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/browser-tests.yml b/.github/workflows/browser-tests.yml index fe5d5c5..143a409 100644 --- a/.github/workflows/browser-tests.yml +++ b/.github/workflows/browser-tests.yml @@ -188,6 +188,7 @@ jobs: ${{ inputs.project-edition }}-${{ steps.project-version.outputs.version }}-${{ inputs.php-image }} - name: Generate token + if: ${{ secrets.AUTOMATION_CLIENT_ID != '' && secrets.AUTOMATION_CLIENT_SECRET != '' }} id: generate_token uses: actions/create-github-app-token@v2 with: