From ea836c6eecd41288d06103eb1140c670aeb80f0a Mon Sep 17 00:00:00 2001 From: Fernando Vilas Date: Fri, 3 Jul 2026 12:35:34 +0200 Subject: [PATCH] ci: add pairing-or-review gate (thin caller of cosmos-audiences reusable) --- .github/workflows/pairing-or-review.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/pairing-or-review.yml diff --git a/.github/workflows/pairing-or-review.yml b/.github/workflows/pairing-or-review.yml new file mode 100644 index 0000000..5635aec --- /dev/null +++ b/.github/workflows/pairing-or-review.yml @@ -0,0 +1,24 @@ +name: Pairing or Review + +# Thin caller: the gate logic lives in cosmos-audiences and is referenced at +# @main so it never has to be duplicated here. The reusable workflow posts the +# "pairing-or-review" commit status on this PR's head SHA (the github context +# always belongs to the caller). Mark that status as a required check. + +on: + pull_request: + types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled] + pull_request_review: + types: [submitted, dismissed] + +concurrency: + group: pairing-or-review-${{ github.event.pull_request.number }} + cancel-in-progress: true + +jobs: + gate: + permissions: + contents: read + pull-requests: write + statuses: write + uses: AudienseCo/cosmos-audiences/.github/workflows/pairing-or-review-reusable.yml@main