Skip to content

🐾 Smart Action Copy Cat #6

🐾 Smart Action Copy Cat

🐾 Smart Action Copy Cat #6

name: Smart Action Copy Cat
on:
workflow_dispatch:
inputs:
action-path:
description: 'Path to the action to be used as example'
required: true
characteristics:
description: 'Characteristics of the new action, described in natural language'
required: true
jobs:
replicate:
runs-on: ubuntu-latest
steps:
- name: Replicate Smart Action
uses: PR-Pilot-AI/smart-actions/replicator@v1
with:
# API key for PR Pilot must be defined as a secret in the repository
api-key: ${{ secrets.PR_PILOT_API_KEY }}
# Inputs for the replicator action
template: |
ALL files in the directory:
${{ inputs.action-path }}
characteristics: ${{ github.event.inputs.characteristics }}