From 5058fa443e36d0ccbdca51932183470aa8fad237 Mon Sep 17 00:00:00 2001 From: Andrew Longosz Date: Sun, 6 Sep 2026 02:25:24 +0200 Subject: [PATCH 1/2] [GHA] Updated GitHub Actions workflows to latest versions and standards - Renamed the CI workflow from 'Backend build' to 'Backend CI' and added a bare workflow_dispatch trigger - Bumped actions/checkout to v7 - Standardized runners to ubuntu-26.04 - Dropped the non-existent main branch from the push trigger - Passed the PHP version to the composer-install action explicitly (IBX-11907, gh-workflows#115) instead of relying on the implicit matrix.php fallback - Added a pipefail guard to the code style check step so cs2pr no longer masks check-cs failures (IBX-11853, bundle-generator#45) Co-Authored-By: Claude Fable 5.1 --- .github/workflows/backend-ci.yaml | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/.github/workflows/backend-ci.yaml b/.github/workflows/backend-ci.yaml index fafd9f1..9bb3419 100644 --- a/.github/workflows/backend-ci.yaml +++ b/.github/workflows/backend-ci.yaml @@ -1,36 +1,40 @@ -name: Backend build +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-22.04" + runs-on: "ubuntu-26.04" strategy: matrix: php: - '8.3' steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - 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: Tests - runs-on: "ubuntu-22.04" + runs-on: "ubuntu-26.04" timeout-minutes: 10 strategy: @@ -42,10 +46,11 @@ jobs: - '8.4' steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - 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 }} From 1fe830a45f36f93bb394864b7f1996e1eca469b6 Mon Sep 17 00:00:00 2001 From: Andrew Longosz Date: Sun, 6 Sep 2026 02:25:24 +0200 Subject: [PATCH 2/2] [GHA] Added missing workflows from bundle-generator skeleton - .github/workflows/reviewers.yaml - .github/workflows/release.yaml Co-Authored-By: Claude Fable 5.1 --- .github/workflows/release.yaml | 13 +++++++++++++ .github/workflows/reviewers.yaml | 15 +++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 .github/workflows/release.yaml create mode 100644 .github/workflows/reviewers.yaml diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 0000000..beedd0c --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,13 @@ +name: Call Automatic Changelog Generator for tag Workflow + +on: + push: + tags: + - 'v*' + - '!v*-alpha*' + +jobs: + create_release_for_tag: + uses: ibexa/gh-workflows/.github/workflows/release_bundle.yml@main + secrets: + JIRA_TOKEN: ${{ secrets.JIRA_TOKEN }} diff --git a/.github/workflows/reviewers.yaml b/.github/workflows/reviewers.yaml new file mode 100644 index 0000000..0c55d2d --- /dev/null +++ b/.github/workflows/reviewers.yaml @@ -0,0 +1,15 @@ +name: On PR Review Requested + +on: + pull_request: + types: [review_requested] + +jobs: + call-expand-team-reviewers: + if: ${{ github.event.requested_team }} + uses: ibexa/gh-workflows/.github/workflows/expand-team-reviewers.yml@main + with: + requested_team: ${{ github.event.requested_team.slug }} + pull_request_number: ${{ github.event.pull_request.number }} + repository: ${{ github.repository }} + secrets: inherit