Skip to content

Commit

Permalink
Create aider-on-issue-labeled.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Jaken Herman <JakenHerman7@Gmail.com>
  • Loading branch information
JakenHerman authored Oct 14, 2024
1 parent 4c610be commit 9836327
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/aider-on-issue-labeled.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
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 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 }}

0 comments on commit 9836327

Please sign in to comment.