Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/workflows/pairing-or-review.yml
Original file line number Diff line number Diff line change
@@ -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