Skip to content

Replace PR Policy with thin caller for reusable workflow - #157

Merged
berfinyuksel merged 1 commit into
2026.xfrom
chore/pr-policy-thin-caller
Aug 21, 2026
Merged

Replace PR Policy with thin caller for reusable workflow#157
berfinyuksel merged 1 commit into
2026.xfrom
chore/pr-policy-thin-caller

Conversation

@berfinyuksel

@berfinyuksel berfinyuksel commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Part of pimcore/DevOps-Tasks#43.

The PR Policy logic now lives in the reusable workflow
pimcore/workflows-collection-public/.github/workflows/reusable-pr-policy.yml
(pimcore/workflows-collection-public#164). This one-time change replaces the
previously synced self-contained workflow with a thin caller that never needs
editing; future policy changes apply automatically via @main.

New behavior included: PRs carrying the Skip Milestone Check label are exempt
from the mandatory milestone check. Note the check context changes from
Milestone assigned to PR Policy / Milestone assigned — required-check
configuration must be updated accordingly.

Copilot AI balanced review requested due to automatic review settings August 21, 2026 07:32
@sonarqubecloud

Copy link
Copy Markdown

@berfinyuksel berfinyuksel added the Skip Milestone Check Exempts this PR from the mandatory milestone requirement label Aug 21, 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

Verdict: Needs changes.

Replaces the local PR policy implementation with a reusable centralized workflow.

Changes:

  • Adds label-change triggers and per-PR concurrency.
  • Delegates policy enforcement to the shared @main workflow.
  • Documents the renamed required-check context.

Assessment:

  • Correct boundary and caller migration; no API compatibility impact.
  • .github/workflows/pr-policy.yml:30 currently targets a workflow absent from upstream main, so merge order must be enforced.
  • Required-check configuration must be updated during rollout.

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

jobs:
pr-policy:
name: PR Policy
uses: pimcore/workflows-collection-public/.github/workflows/reusable-pr-policy.yml@main
@berfinyuksel berfinyuksel added Skip Milestone Check Exempts this PR from the mandatory milestone requirement and removed Skip Milestone Check Exempts this PR from the mandatory milestone requirement labels Aug 21, 2026
@berfinyuksel
berfinyuksel merged commit 557f1d7 into 2026.x Aug 21, 2026
23 of 25 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 21, 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.

2 participants