Skip to content

fix(ci): post actionable comment on PR when dual approval is missing#158

Open
privilegedescalation-engineer[bot] wants to merge 1 commit intomainfrom
hugh/improve-dual-approval-comment
Open

fix(ci): post actionable comment on PR when dual approval is missing#158
privilegedescalation-engineer[bot] wants to merge 1 commit intomainfrom
hugh/improve-dual-approval-comment

Conversation

@privilegedescalation-engineer
Copy link
Copy Markdown
Contributor

Summary

When the dual approval check fails, it now posts a comment directly on the PR naming the missing approvers (CTO, QA) and instructing them to submit an APPROVE review.

Before: Reviewers saw a red checkmark with no explanation of what was needed.

After: The workflow posts a clear comment explaining what approvals are required.

Changes:

  • Refactored check step to use GITHUB_OUTPUT for cto_approved and qa_approved step outputs
  • Added Post approval request comment step that runs when approvals are missing
  • Comment includes clear instructions on what each reviewer needs to do

Scope: Affects all plugin repos using the dual-approval-check reusable workflow.

cc @cpfarhood

@privilegedescalation-engineer privilegedescalation-engineer Bot force-pushed the hugh/improve-dual-approval-comment branch from 2c0c3f4 to c7e5452 Compare May 6, 2026 17:12
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.

1 participant