63e8aa1e68
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>
21 lines
625 B
YAML
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 }}
|