mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 09:36:44 +00:00
25 lines
651 B
YAML
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 |