feat: Migrate Test Workflows to Main Repo (#15504)

This commit is contained in:
shortstacked
2025-05-20 07:24:56 +01:00
committed by GitHub
parent 7e3bcd3895
commit 867842d473
408 changed files with 161037 additions and 8 deletions

View File

@@ -0,0 +1,25 @@
name: Test Workflows on PR Approval
on:
pull_request_review:
types: [submitted]
permissions:
contents: read
pull-requests: read
jobs:
run_tests_after_approval:
name: Run Tests on Approved PR
if: github.event.review.state == 'approved'
runs-on: blacksmith-2vcpu-ubuntu-2204
timeout-minutes: 10
steps:
- name: Call Reusable Test Workflow on Approved PR
uses: ./.github/workflows/test-workflows-callable.yml
with:
git_ref: ${{ github.event.pull_request.head.sha }}
send_webhook_report: true
pr_number: ${{ github.event.pull_request.number }}
secrets: inherit