Skip to content

✨ Implement new action 'quick-task' for task execution #6

✨ Implement new action 'quick-task' for task execution

✨ Implement new action 'quick-task' for task execution #6

name: Handle new PR creation
# Triggers the workflow on new pull request creation
on:
pull_request:
types: [opened]
jobs:
handle-pr:
runs-on: ubuntu-latest
steps:
- name: Handle New PR
uses: PR-Pilot-AI/smart-actions/pr-creation-handler@v1
with:
# API key for PR Pilot must be defined as a secret in the repository
api-key: ${{ secrets.PR_PILOT_API_KEY }}
# Number of the PR to be handled
pr-number: ${{ github.event.pull_request.number }}
# Instructions for handling the PR
review-instructions: |
- Review the PR for any obvious issues
- Assign appropriate labels if it doesn't have any
- Check for security concerns
- Comment on the PR if you find anything. Otherwise say 'Looks good to me'