mirror of
https://github.com/Sea-Haven-Industries/review-policy-test.git
synced 2026-08-04 17:26:13 +00:00
Adds a minimal Python module + .gitignore + a ci.yaml caller (ci-python-app) so the repo emits ci / ci like a real repo, and switches the required-review caller to the throwaway review-test-approvers team so the live luby / internal-dev teams are not involved during validation.
29 lines
1 KiB
YAML
29 lines
1 KiB
YAML
name: Required review
|
|
|
|
# TEST caller for the multi-team required-review gate.
|
|
#
|
|
# Points at the reusable on its PR branch (feat/required-review-workflow) so the
|
|
# workflow can be validated BEFORE .github PR #64 is merged. Once #64 is merged,
|
|
# the production callers (shoc-backend / shoc-frontend-new) pin `@main` instead.
|
|
#
|
|
# Required status check context emitted by this job: `required-review / required-review`.
|
|
|
|
on:
|
|
pull_request:
|
|
types: [opened, reopened, synchronize]
|
|
pull_request_review:
|
|
types: [submitted, dismissed, edited]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
required-review:
|
|
uses: Sea-Haven-Industries/.github/.github/workflows/callable-required-review.yaml@feat/required-review-workflow
|
|
with:
|
|
# Test team (just Adam) so the real luby / internal-dev teams are not
|
|
# involved while validating. Switch to "luby,internal-dev" for production.
|
|
all-of-teams: "review-test-approvers"
|
|
secrets:
|
|
app_id: ${{ secrets.REVIEW_POLICY_APP_ID }}
|
|
app_private_key: ${{ secrets.REVIEW_POLICY_APP_PRIVATE_KEY }}
|