Skip to content

Commit f23e758

Browse files
committed
ci: Add planning with Navie AI
1 parent 416966b commit f23e758

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

.github/workflows/plan.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Plan issue with Navie
2+
3+
on:
4+
issues:
5+
types: [opened, edited, reopened, labeled, unlabeled]
6+
7+
permissions:
8+
contents: read
9+
issues: write
10+
11+
jobs:
12+
plan:
13+
if: contains(github.event.issue.labels.*.name, 'navie-plan')
14+
runs-on: ubuntu-latest
15+
env:
16+
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
17+
steps:
18+
- name: Checkout
19+
uses: actions/checkout@v4
20+
with:
21+
submodules: recursive
22+
23+
- name: Plan with Navie
24+
uses: getappmap/navie-editor/plan@main
25+
with:
26+
issue_id: ${{ github.event.issue.number }}
27+
github_token: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,6 @@ htmlcov/
1919

2020
/.tox
2121
/node_modules
22-
/ruff.toml
22+
/ruff.toml
23+
24+
appmap.log

0 commit comments

Comments
 (0)