Skip to content

Add input validation #3

Add input validation

Add input validation #3

name: Auto-generate PR using Aider
on:
issues:
types: [labeled]
jobs:
generate:
uses: mirrajabi/aider-github-workflows/.github/workflows/aider-issue-to-pr.yml@main
# Check if the label is 'aider'
if: github.event.label.name == 'aider'
with:
issue-number: ${{ github.event.issue.number }}
base-branch: ${{ github.event.repository.default_branch }}
secrets:
openai_api_key: ${{ secrets.OPENAI_API_KEY }}