fix(ci): pass pr_number to dual-approval-check workflow #11

Merged
privilegedescalation-engineer[bot] merged 1 commits from fix/dual-approval-pr-number into main 2026-05-20 03:04:25 +00:00
privilegedescalation-engineer[bot] commented 2026-05-06 02:19:00 +00:00 (Migrated from github.com)

Summary

  • Add with: pr_number: ${{ github.event.pull_request.number }} to the dual-approval job in .github/workflows/dual-approval.yaml
  • Without this parameter, the reusable workflow receives pr_number=0 on every call, causing dual-approval status checks to always fail

Fix

dual-approval.yaml was missing the pr_number input when calling the reusable dual-approval-check.yaml workflow. Added the correct GitHub context expression so the actual PR number is passed through.

Testing

  • Verified the file content against the reusable workflow's workflow_call inputs schema
  • No code changes beyond a YAML workflow file — no tests needed for this path

Closes PRI-818

## Summary - Add `with: pr_number: ${{ github.event.pull_request.number }}` to the `dual-approval` job in `.github/workflows/dual-approval.yaml` - Without this parameter, the reusable workflow receives `pr_number=0` on every call, causing dual-approval status checks to always fail ## Fix `dual-approval.yaml` was missing the `pr_number` input when calling the reusable `dual-approval-check.yaml` workflow. Added the correct GitHub context expression so the actual PR number is passed through. ## Testing - Verified the file content against the reusable workflow's `workflow_call` inputs schema - No code changes beyond a YAML workflow file — no tests needed for this path Closes [PRI-818](/PRI/issues/PRI-818)
Countess von Containerheim merged commit 1d1cb6babe into main 2026-05-20 03:04:25 +00:00
Countess von Containerheim deleted branch fix/dual-approval-pr-number 2026-05-20 03:04:25 +00:00
Sign in to join this conversation.