Create pr-tests.yml

Signed-off-by: jeet041 <mahorjitendra@gmail.com>
This commit is contained in:
jeet041 2025-04-17 12:50:25 +05:30 committed by GitHub
parent 85cec35d7d
commit ddcb834ac7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

25
.github/workflows/pr-tests.yml vendored Normal file
View file

@ -0,0 +1,25 @@
# .github/workflows/pr-tests.yml
name: Run PR Tests
on:
workflow_dispatch:
inputs:
pr_number:
description: 'Pull request number'
required: true
type: string
jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout PR code
uses: actions/checkout@v3
with:
ref: refs/pull/${{ github.event.inputs.pr_number }}/merge
- name: Run tests
run: |
echo "Running tests for PR #${{ github.event.inputs.pr_number }}"
# Replace this with actual test commands
echo "✅ Tests complete"