✨ Created new action 'quick-task' for PR Pilot task creation #8
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |