From 6b71bc5cd24be7e62c4bc1ddfa3dcf09e8c9ce87 Mon Sep 17 00:00:00 2001 From: berfinyuksel <99557970+berfinyuksel@users.noreply.github.com> Date: Fri, 21 Aug 2026 09:52:37 +0200 Subject: [PATCH] Add PR Policy thin caller for reusable workflow --- .github/workflows/pr-policy.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/pr-policy.yml diff --git a/.github/workflows/pr-policy.yml b/.github/workflows/pr-policy.yml new file mode 100644 index 0000000..547df63 --- /dev/null +++ b/.github/workflows/pr-policy.yml @@ -0,0 +1,30 @@ +name: PR Policy + +# Thin caller — the policy logic lives in +# pimcore/workflows-collection-public/.github/workflows/reusable-pr-policy.yml +# and changes there apply automatically. Make the "PR Policy / Milestone assigned" +# check required (repo ruleset / branch protection) so it actually blocks merging. + +on: + pull_request: + types: + - opened + - reopened + - synchronize + - ready_for_review + - milestoned + - demilestoned + - labeled + - unlabeled + +permissions: + contents: read + +concurrency: + group: pr-policy-${{ github.event.pull_request.number }} + cancel-in-progress: true + +jobs: + pr-policy: + name: PR Policy + uses: pimcore/workflows-collection-public/.github/workflows/reusable-pr-policy.yml@main