mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
feat: Migrate Test Workflows to Main Repo (#15504)
This commit is contained in:
25
.github/workflows/test-workflows-pr-approved.yml
vendored
Normal file
25
.github/workflows/test-workflows-pr-approved.yml
vendored
Normal 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
|
||||
Reference in New Issue
Block a user