Files
n8n-enterprise-unlocked/.github/workflows/test-workflows-pr-approved.yml
2025-05-20 07:24:56 +01:00

25 lines
651 B
YAML

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