Skip to content

Add PR Guardrails trigger workflow#261

Open
berfinyuksel wants to merge 2 commits into
5.xfrom
feat/pr-guardrails
Open

Add PR Guardrails trigger workflow#261
berfinyuksel wants to merge 2 commits into
5.xfrom
feat/pr-guardrails

Conversation

@berfinyuksel

Copy link
Copy Markdown
Contributor

Adopts the org-wide PR guardrails (linked-issue requirement + Dev-Team membership bypass + CI gate) per pimcore/platform-version#226.

Thin, generic trigger identical to the template in payment-provider-payu — it calls parent-pr-guardrails.yml@main with secrets: inherit. The three guardrail tokens are org-level secrets with all-repository access, so no per-repo wiring is needed.

Note: the guardrail activates for PRs opened after this merges (pull_request_target runs the base-branch workflow definition), so this PR does not exercise it.

Copilot AI review requested due to automatic review settings July 22, 2026 14:02
@berfinyuksel
berfinyuksel requested a review from bluvulture as a code owner July 22, 2026 14:02

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds a trigger workflow for organization-wide PR guardrails.

Changes:

  • Triggers guardrails on PR and check-suite events.
  • Calls the centralized workflow with inherited secrets.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/pr-guardrails.yml Outdated
Comment on lines +11 to +12
check_suite:
types: [completed]
Copilot AI review requested due to automatic review settings July 22, 2026 14:45

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

Comment on lines +27 to +30
secrets:
MEMBERSHIP_GUARD_TOKEN: ${{ secrets.MEMBERSHIP_GUARD_TOKEN }}
ISSUE_LINK_GUARD_TOKEN: ${{ secrets.ISSUE_LINK_GUARD_TOKEN }}
CI_GUARD_TOKEN: ${{ secrets.CI_GUARD_TOKEN }}
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.

3 participants