Skip to content

Add input validation #1

Add input validation

Add input validation #1

name: Auto-generate PR using Aider
on:
issues:
types: [labeled]
jobs:
generate:
uses: mirrajabi/aider-github-action/.github/workflows/aider-issue-to-pr.yml@main

Check failure on line 8 in .github/workflows/aider-on-issue-labeled.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/aider-on-issue-labeled.yml

Invalid workflow file

error parsing called workflow ".github/workflows/aider-on-issue-labeled.yml" -> "mirrajabi/aider-github-action/.github/workflows/aider-issue-to-pr.yml@main" : failed to fetch workflow: workflow was not found.
# 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 }}