From db3d556e13f148a84c56c498e98f0ffb6f069278 Mon Sep 17 00:00:00 2001 From: Andrew Longosz Date: Sun, 6 Sep 2026 20:58:43 +0200 Subject: [PATCH] [GHA] Updated GitHub Actions workflows to latest versions and standards - Standardized runner labels to ubuntu-26.04 in backend-ci.yaml and integration-tests-callable.yaml - Renamed the backend CI workflow from "CI" to "Backend CI" and added a bare workflow_dispatch trigger - Dropped the stale main push trigger from backend-ci.yaml - Stated php-version explicitly in both composer-install steps - Guarded the piped check-cs step with set -euo pipefail - Removed the pr-assign workflow --- .github/workflows/backend-ci.yaml | 15 ++++++++++----- .github/workflows/integration-tests-callable.yaml | 2 +- .github/workflows/pr-assign.yaml | 10 ---------- 3 files changed, 11 insertions(+), 16 deletions(-) delete mode 100644 .github/workflows/pr-assign.yaml diff --git a/.github/workflows/backend-ci.yaml b/.github/workflows/backend-ci.yaml index c810e7b5a..dbafdccfb 100644 --- a/.github/workflows/backend-ci.yaml +++ b/.github/workflows/backend-ci.yaml @@ -1,16 +1,16 @@ -name: CI +name: Backend CI on: push: branches: - - main - '[0-9]+.[0-9]+' pull_request: ~ + workflow_dispatch: ~ jobs: cs-fix: name: Run code style check - runs-on: "ubuntu-24.04" + runs-on: "ubuntu-26.04" strategy: matrix: php: @@ -20,17 +20,21 @@ jobs: - uses: ibexa/gh-workflows/actions/composer-install@main with: + php-version: ${{ matrix.php }} 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 + shell: bash + run: | + set -euo pipefail + composer run-script check-cs -- --format=checkstyle | cs2pr tests: name: Unit & integration tests - runs-on: "ubuntu-24.04" + runs-on: "ubuntu-26.04" timeout-minutes: 15 strategy: @@ -46,6 +50,7 @@ jobs: - uses: ibexa/gh-workflows/actions/composer-install@main with: + php-version: ${{ matrix.php }} gh-client-id: ${{ secrets.AUTOMATION_CLIENT_ID }} gh-client-secret: ${{ secrets.AUTOMATION_CLIENT_SECRET }} satis-network-key: ${{ secrets.SATIS_NETWORK_KEY }} diff --git a/.github/workflows/integration-tests-callable.yaml b/.github/workflows/integration-tests-callable.yaml index 4071e743d..dd83738c9 100644 --- a/.github/workflows/integration-tests-callable.yaml +++ b/.github/workflows/integration-tests-callable.yaml @@ -12,7 +12,7 @@ env: jobs: functional-tests-rest: - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 timeout-minutes: 15 strategy: diff --git a/.github/workflows/pr-assign.yaml b/.github/workflows/pr-assign.yaml deleted file mode 100644 index 302423e30..000000000 --- a/.github/workflows/pr-assign.yaml +++ /dev/null @@ -1,10 +0,0 @@ -name: Assign Pull Request to maintainers - -on: - pull_request_target: - -jobs: - assign: - uses: ibexa/gh-workflows/.github/workflows/pr-assign.yml@main - secrets: - robot-token: ${{ secrets.EZROBOT_PAT }}