Skip to content

IBX-11778: [GHA] Updated GitHub Actions in workflows#230

Merged
alongosz merged 10 commits into
4.6from
ibx-11778-update-gha
Jul 16, 2026
Merged

IBX-11778: [GHA] Updated GitHub Actions in workflows#230
alongosz merged 10 commits into
4.6from
ibx-11778-update-gha

Conversation

@alongosz

@alongosz alongosz commented Jun 19, 2026

Copy link
Copy Markdown
Member
🎫 Issue IBX-11778

Related PRs:

Description:

  • Updated actions/cache to v6
  • Updated actions/checkout to v7
  • [REST integration] Configured explicitly generated GitHub App token and passed it to the setup PHP action
  • [REST integration] Bumped node version from 18 to 20.

Note

Node version bump here is not related to node version run by actions' runners, it's about node version used by Ibexa DXP instance and it aligns with ibexa/docker#60 drop of node 18 support.
ghcr.io/ibexa/docker/php:7.4-node20 along with other supported images were rebuild to upgrade Composer version to 2.10.1 after security advisories patches and introducing support for the new GitHub token format.

  • Fixed outstanding json_decode usage issues detected by the newest version of PHPStan.
  • [REST integration] Dropped Selenium from the functional tests setup — selenium.yml was only needed because it injected EZP_TEST_REST_HOST=$WEB_HOST into the app container; that variable is now passed explicitly on docker compose exec, so the Selenium container is no longer started at all.
  • [REST integration] Moved Composer audit ignores configuration into vendor/ibexa/rest inside the container — the runner-side step only covered the workflow checkout, which is the caller's package when this callable runs from another repo (e.g. ibexa/http-cache), leaving vendor/ibexa/rest's composer update blocked by Composer security advisories on PHP 7.4.
  • [Composer] Used branch-alias constraints (~4.6.x-dev) instead of @dev stability flags — ~4.6.0@dev also matches any tagged 4.6.* release, so the solver could resolve to old stable versions with different dependency sets.
  • [Composer] Dropped ibexa/ci-scripts dev dependency — it's a standalone project; CI workflows fetch its scripts directly from GitHub, so the package was unused.

@alongosz
alongosz force-pushed the ibx-11778-update-gha branch 3 times, most recently from ec339ea to baddd8a Compare June 19, 2026 14:36
@alongosz
alongosz marked this pull request as ready for review June 19, 2026 15:31
@alongosz
alongosz force-pushed the ibx-11778-update-gha branch from f0ffbc3 to 746b598 Compare July 15, 2026 17:21
alongosz and others added 3 commits July 15, 2026 19:40
The selenium.yml compose file was only needed because it injects
EZP_TEST_REST_HOST=$WEB_HOST into the app container, pointing the
functional tests at the nginx "web" service instead of the default
localhost. Passing the variable explicitly on docker compose exec
makes the whole Selenium container redundant.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…flags

`@dev` is only a stability flag: `~4.6.0@dev` still matches any tagged
4.6.* release, so the solver may resolve to old stable versions with
different dependency sets. An explicit `~4.6.x-dev` branch-alias
constraint is more predictable.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
ibexa/ci-scripts is a standalone project; CI workflows fetch its
scripts directly from GitHub, so the Composer package was unused.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@alongosz
alongosz force-pushed the ibx-11778-update-gha branch from 746b598 to 648b362 Compare July 15, 2026 17:50
…package

Audit ignores were only ever configured on the workflow checkout, which
becomes vendor/ibexa/rest solely when this callable runs in ibexa/rest
itself. For external callers (e.g. ibexa/http-cache) the checkout is
the caller's package and vendor/ibexa/rest comes pristine from the 4.6
branch, so its composer update hit Composer 2.10's advisory blocking on
PHP 7.4 (unsolvable twig/guzzle advisories on EOL PHP).

Applying the ignores inside vendor/ibexa/rest covers every caller and
makes the runner-side audit ignores step redundant, hence it's dropped.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@alongosz
alongosz force-pushed the ibx-11778-update-gha branch from 71aa09a to bc3001a Compare July 15, 2026 19:04
@sonarqubecloud

Copy link
Copy Markdown

@alongosz
alongosz requested a review from wiewiurdp July 16, 2026 07:42
@alongosz
alongosz merged commit 7d90217 into 4.6 Jul 16, 2026
21 checks passed
@alongosz
alongosz deleted the ibx-11778-update-gha branch July 16, 2026 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants