Skip to content

Repoint static analysis to reusable-static-analysis-unified - #56

Closed
berfinyuksel wants to merge 3 commits into
3.0from
ci/static-analysis-unified-3.0
Closed

Repoint static analysis to reusable-static-analysis-unified#56
berfinyuksel wants to merge 3 commits into
3.0from
ci/static-analysis-unified-3.0

Conversation

@berfinyuksel

Copy link
Copy Markdown
Contributor

Fix for the silently-dead static analysis (pimcore/DevOps-Tasks#47): this branch's caller references reusable-static-analysis-centralized.yaml, retired from workflows-collection-public on 2025-12-09 — every run since start-failed with zero jobs. Replaced with the unified pattern validated on pimcore/web2print-tools#121 and green on pimcore/system-info-bundle#61 / pimcore/opensearch-client#59.

This lands on the lowest 12-era branch: the older branches of this repo cannot install any Pimcore ^10/^11 release under Composer 2.9's Packagist advisory policy (verified in PR runs), so their static analysis stays documented on #47 pending the workflows-owner decision. Forward-merge up the remaining chain follows after merge.

Also carries pimcore/DevOps-Tasks#44 ideas 1–3 in the same file: push scoped to version branches, concurrency keyed by PR number (cancels superseded runs, no cross-fork collisions), paths-ignore for docs/assets/markdown.

Expected on this PR: static analysis runs real matrix legs.

The previous caller referenced a reusable workflow retired in
workflows-collection-public on 2025-12-09, so every run start-failed
with zero jobs. Lowest 12-era branch of this repo; older branches are
blocked by the Composer advisory policy and stay documented on
pimcore/DevOps-Tasks#47.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings August 26, 2026 12:10
@berfinyuksel berfinyuksel added the Skip Milestone Check Exempts this PR from the mandatory milestone requirement label Aug 26, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Restores static analysis by switching to the supported unified reusable workflow.

Changes:

  • Generates and passes the unified PHPStan matrix.
  • Adds scoped triggers, ignored documentation paths, and concurrency cancellation.
  • Configures required reusable-workflow inputs and secrets.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

berfinyuksel and others added 2 commits August 31, 2026 10:33
DevOps-Tasks#44 / prep for stacked PRs (DevOps-Tasks#48): pull_request
base-branch filter so mid-stack PRs (base = another feature branch)
skip the heavy suites. Normal PRs target version branches and are
unaffected. No required checks gate these workflows (verified).

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Per review: identical workflows must look identical unless there is a
reason not to. pull_request runs for every base branch again (developers
expect the suites on PRs from any branch name); push stays scoped to
version branches; every job timeout is uniformly 30 minutes; concurrency
is uniformly keyed by PR number.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@berfinyuksel

Copy link
Copy Markdown
Contributor Author

Closing: 3.0 is not the active 2025 line — 3.1 is, and it carries the modern workflow under the migration name new-static-analysis.yaml with no old file. Replaced by the filename-alignment PR on 3.1.

@berfinyuksel
berfinyuksel deleted the ci/static-analysis-unified-3.0 branch August 31, 2026 13:07
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 31, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Skip Milestone Check Exempts this PR from the mandatory milestone requirement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants