Skip to content

Commit

Permalink
feat: Update allowed commands
Browse files Browse the repository at this point in the history
- Add "gh" to the allowed commands for the "start", "install", and "build" tasks
- This allows the script to use the GitHub CLI for fetching issue information
chore(main.ts): Add support for GitHub issue search and selection
- Add new function `searchAndSelectIssue` to search for and select a related issue
- Update `getCommitMessage` to include the selected issue information in the system prompt
- Add new function `getGitAuthor` to retrieve the git author information for the kernel format
- Improve formatting of the commit message display
  • Loading branch information
sidedwards committed Oct 27, 2024
1 parent 834e7a4 commit 3b2123e
Show file tree
Hide file tree
Showing 3 changed files with 330 additions and 204 deletions.
6 changes: 3 additions & 3 deletions deno.jsonc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"tasks": {
"start": "deno run --allow-net --allow-read --allow-write --allow-env --allow-run=\"git,vim\" main.ts",
"install": "deno run --allow-read --allow-write --allow-run scripts/install.ts",
"build": "deno run --allow-read --allow-write --allow-run scripts/build.ts",
"start": "deno run --allow-net --allow-read --allow-write --allow-env --allow-run=\"git,vim,gh\" main.ts",
"install": "deno run --allow-read --allow-write --allow-run=\"git,vim,gh\" scripts/install.ts",
"build": "deno run --allow-read --allow-write --allow-run=\"git,vim,gh\" scripts/build.ts",
"update": "git pull && deno task install"
},
"name": "auto-commit",
Expand Down
Loading

0 comments on commit 3b2123e

Please sign in to comment.