This repository has been archived on 2026-06-16. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
headlamp-kube-vip-plugin/.github/workflows/dual-approval.yaml
T
Chris Farhood 63e8aa1e68 ci: add dev branch to CI and dual-approval triggers
PRs targeting dev branch (e.g. gandalf/docs-namespace-cleanup → dev)
were not triggering CI because the workflow on: filters only listed
main. This change adds 'dev' to both push and pull_request branch
filters on CI, and to the pull_request trigger on dual-approval.

Fixes PRI-526.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-04 18:20:09 +00:00

21 lines
625 B
YAML

name: Dual Approval (CTO + QA)
# Calls the shared dual-approval-check workflow.
# Passes when both privilegedescalation-cto and privilegedescalation-qa
# have approved the PR. Add "Dual Approval (CTO + QA)" to required_status_checks
# in branch protection to enforce this gate.
on:
pull_request_review:
types: [submitted, dismissed]
pull_request:
branches: [main, dev]
types: [opened, reopened, synchronize]
jobs:
dual-approval:
uses: privilegedescalation/.github/.github/workflows/dual-approval-check.yaml@main
secrets: inherit
with:
pr_number: ${{ github.event.pull_request.number }}