Skip to content

Commit

Permalink
ci: Add planning with Navie AI
Browse files Browse the repository at this point in the history
  • Loading branch information
kgilpin committed Aug 8, 2024
1 parent 416966b commit f23e758
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
27 changes: 27 additions & 0 deletions .github/workflows/plan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Plan issue with Navie

on:
issues:
types: [opened, edited, reopened, labeled, unlabeled]

permissions:
contents: read
issues: write

jobs:
plan:
if: contains(github.event.issue.labels.*.name, 'navie-plan')
runs-on: ubuntu-latest
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive

- name: Plan with Navie
uses: getappmap/navie-editor/plan@main
with:
issue_id: ${{ github.event.issue.number }}
github_token: ${{ secrets.GITHUB_TOKEN }}
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,6 @@ htmlcov/

/.tox
/node_modules
/ruff.toml
/ruff.toml

appmap.log

0 comments on commit f23e758

Please sign in to comment.