From 90be68915c24a8ecaa86498b6531432f31c25bfa Mon Sep 17 00:00:00 2001 From: Andrew Longosz Date: Fri, 19 Jun 2026 13:14:18 +0200 Subject: [PATCH 1/4] [GHA] Updated checkout action to v7 Co-Authored-By: Codex --- .github/workflows/backend-ci.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/backend-ci.yaml b/.github/workflows/backend-ci.yaml index a98618b..edbb092 100644 --- a/.github/workflows/backend-ci.yaml +++ b/.github/workflows/backend-ci.yaml @@ -16,7 +16,7 @@ jobs: php: - '8.1' steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v7 - name: Setup PHP Action uses: shivammathur/setup-php@v2 @@ -43,7 +43,7 @@ jobs: - '8.3' - '8.4' steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v7 - name: Setup PHP Action uses: shivammathur/setup-php@v2 @@ -75,7 +75,7 @@ jobs: composer_options: [ "" ] steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v7 - name: Setup PHP Action uses: shivammathur/setup-php@v2 From 92ea00ea9b9b5fc1be14ba20289b0fecaedfcfe7 Mon Sep 17 00:00:00 2001 From: Andrew Longosz Date: Fri, 19 Jun 2026 17:53:39 +0200 Subject: [PATCH 2/4] [GHA][CI] Replaced Composer setup with shared action --- .github/workflows/backend-ci.yaml | 45 +++++++++++-------------------- 1 file changed, 15 insertions(+), 30 deletions(-) diff --git a/.github/workflows/backend-ci.yaml b/.github/workflows/backend-ci.yaml index edbb092..f7d2b69 100644 --- a/.github/workflows/backend-ci.yaml +++ b/.github/workflows/backend-ci.yaml @@ -18,17 +18,12 @@ jobs: steps: - uses: actions/checkout@v7 - - name: Setup PHP Action - uses: shivammathur/setup-php@v2 + - uses: ibexa/gh-workflows/actions/composer-install@main with: - php-version: ${{ matrix.php }} - coverage: none - extensions: 'pdo_sqlite, gd' - tools: cs2pr - - - uses: ramsey/composer-install@v3 - with: - dependency-versions: highest + gh-client-id: ${{ secrets.AUTOMATION_CLIENT_ID }} + gh-client-secret: ${{ secrets.AUTOMATION_CLIENT_SECRET }} + satis-network-key: ${{ secrets.SATIS_NETWORK_KEY }} + satis-network-token: ${{ secrets.SATIS_NETWORK_TOKEN }} - name: Run code style check run: composer run-script check-cs -- --format=checkstyle | cs2pr @@ -45,17 +40,12 @@ jobs: steps: - uses: actions/checkout@v7 - - name: Setup PHP Action - uses: shivammathur/setup-php@v2 - with: - php-version: ${{ matrix.php }} - coverage: none - extensions: 'pdo_sqlite, gd' - tools: cs2pr - - - uses: ramsey/composer-install@v3 + - uses: ibexa/gh-workflows/actions/composer-install@main with: - dependency-versions: highest + gh-client-id: ${{ secrets.AUTOMATION_CLIENT_ID }} + gh-client-secret: ${{ secrets.AUTOMATION_CLIENT_SECRET }} + satis-network-key: ${{ secrets.SATIS_NETWORK_KEY }} + satis-network-token: ${{ secrets.SATIS_NETWORK_TOKEN }} - name: Run PHPStan analysis run: composer run-script phpstan @@ -77,17 +67,12 @@ jobs: steps: - uses: actions/checkout@v7 - - name: Setup PHP Action - uses: shivammathur/setup-php@v2 - with: - php-version: ${{ matrix.php }} - coverage: none - extensions: pdo_sqlite, gd - tools: cs2pr - - - uses: ramsey/composer-install@v3 + - uses: ibexa/gh-workflows/actions/composer-install@main with: - dependency-versions: highest + gh-client-id: ${{ secrets.AUTOMATION_CLIENT_ID }} + gh-client-secret: ${{ secrets.AUTOMATION_CLIENT_SECRET }} + satis-network-key: ${{ secrets.SATIS_NETWORK_KEY }} + satis-network-token: ${{ secrets.SATIS_NETWORK_TOKEN }} composer-options: "${{ matrix.composer_options }}" - name: Setup problem matchers for PHPUnit From c03026cf6923ef63eb9a7f37e7bcdc7d7142bdcf Mon Sep 17 00:00:00 2001 From: Andrew Longosz Date: Fri, 19 Jun 2026 17:56:30 +0200 Subject: [PATCH 3/4] [GHA][CI] Inherited secrets in REST integration tests --- .github/workflows/backend-ci.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/backend-ci.yaml b/.github/workflows/backend-ci.yaml index f7d2b69..a7eb3e6 100644 --- a/.github/workflows/backend-ci.yaml +++ b/.github/workflows/backend-ci.yaml @@ -84,3 +84,4 @@ jobs: integration-tests: name: "REST integration tests" uses: ibexa/rest/.github/workflows/integration-tests-callable.yaml@4.6 + secrets: inherit From 7570a1acff5312174f81fdfb748c5f8c1b96a83b Mon Sep 17 00:00:00 2001 From: Andrew Longosz Date: Fri, 19 Jun 2026 17:57:21 +0200 Subject: [PATCH 4/4] [TMP][GHA][CI] Switched REST workflow to feature branch --- .github/workflows/backend-ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/backend-ci.yaml b/.github/workflows/backend-ci.yaml index a7eb3e6..5b35d7e 100644 --- a/.github/workflows/backend-ci.yaml +++ b/.github/workflows/backend-ci.yaml @@ -83,5 +83,5 @@ jobs: integration-tests: name: "REST integration tests" - uses: ibexa/rest/.github/workflows/integration-tests-callable.yaml@4.6 + uses: ibexa/rest/.github/workflows/integration-tests-callable.yaml@ibx-11778-update-gha secrets: inherit