Skip to content

IBX-12028: [Composer Audit Ignore] Refactored action to use common source of truth#104

Merged
alongosz merged 2 commits into
mainfrom
ibx-12028-ci-advisories-patch-revamp
Jul 6, 2026
Merged

IBX-12028: [Composer Audit Ignore] Refactored action to use common source of truth#104
alongosz merged 2 commits into
mainfrom
ibx-12028-ci-advisories-patch-revamp

Conversation

@alongosz

@alongosz alongosz commented Jul 2, 2026

Copy link
Copy Markdown
Member

Caution

  • Drop TMP commit before merging
🎫 Issue IBX-12028

Related PRs:

Description:

Refactored the ibexa/gh-workflows/actions/composer-audit-ignore/action.yml GHA to rely on common/shared source of truth in ci-scripts rather than update hardcoded list everywhere every time Symfony decides to publish yet another advisory.

The new source of truth includes newly published PKSA-8zx5-v2nz-58pb (GHSA-529h-vh3j-85hq).

Additionally, to better streamline testing of any changes to scripts fetched from ci-scripts via curl, CI_SCRIPTS_REF environment variable and a corresponding ci-scripts-ref GHA action input was added.

For QA:

No QA required.

Tested via:

Documentation:

No documentation required.

@alongosz
alongosz requested review from ibexa-yuna and removed request for tbialcz July 6, 2026 07:28
The ci-scripts-branch input only redirected the top-level
prepare_project_edition.sh fetch; nested ci-scripts fetches remained
pinned to main, so feature-branch changes to the shared audit scripts
were never exercised on CI.

Bridged the input to the scripts by exporting CI_SCRIPTS_REF (from
ci-scripts-branch) on both browser-tests prepare steps, so the whole
prepare chain follows the selected ref.

Applied the same fix to the parallel composer-install ->
composer-audit-ignore action path: added a ci-scripts-ref input
(defaulting to main) to both composite actions and used it for the
configure_composer_audit_ignores.sh fetch, keeping the audit-ignore
behaviour consistent regardless of entry point.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@alongosz
alongosz force-pushed the ibx-12028-ci-advisories-patch-revamp branch from 29b9578 to d879fe9 Compare July 6, 2026 09:40
@sonarqubecloud

sonarqubecloud Bot commented Jul 6, 2026

Copy link
Copy Markdown

@alongosz
alongosz merged commit acbbb7c into main Jul 6, 2026
2 checks passed
@alongosz
alongosz deleted the ibx-12028-ci-advisories-patch-revamp branch July 6, 2026 09:43
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.

6 participants