🐾 Smart Action Copy Cat #4
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: Smart Action Copy Cat | |
on: | |
workflow_dispatch: | |
inputs: | |
template: | |
description: 'Path(s) to the action(s) to be replicated' | |
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: ${{ github.event.inputs.template }} | |
characteristics: ${{ github.event.inputs.characteristics }} |