Skip to content

Allow gatekeeper to be called as reusable workflow#52

Merged
ilyashatalov merged 1 commit into
mainfrom
feature/gatekeeper-workflow-call
May 11, 2026
Merged

Allow gatekeeper to be called as reusable workflow#52
ilyashatalov merged 1 commit into
mainfrom
feature/gatekeeper-workflow-call

Conversation

@ilyashatalov
Copy link
Copy Markdown
Contributor

@ilyashatalov ilyashatalov commented May 11, 2026

Summary

  • Adds workflow_call: trigger to ai-gatekeeper.yaml so it can be invoked from wrapper workflows in target repos via uses: pyth-network/shared-actions/.github/workflows/ai-gatekeeper.yaml@main.

Why

Required workflows from rulesets only fire on pull_request events, not pull_request_review. Wrapper workflows in target repos can subscribe to both event types and call this reusable workflow, fixing the gap where approvals don't re-trigger the gatekeeper check.

Test plan

  • PR from a target repo with a wrapper workflow passes/fails as expected
  • Existing pull_request / pull_request_review triggers in this repo still work

Open in Devin Review

@ilyashatalov ilyashatalov merged commit 5859ffa into main May 11, 2026
3 of 4 checks passed
@ilyashatalov ilyashatalov deleted the feature/gatekeeper-workflow-call branch May 11, 2026 21:55
Copy link
Copy Markdown

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 2 additional findings.

Open in Devin Review

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.

2 participants