Skip to content

Commit 0cd0ab0

Browse files
committed
feat: Checkout issue branch
1 parent a4e84b4 commit 0cd0ab0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lua/telescope/_extensions/gh_actions.lua

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,11 @@ A.gh_issue_insert_markdown_link = function(prompt_bufnr)
9292
end
9393
end
9494

95+
A.gh_issue_develop = function(prompt_bufnr)
96+
local issue_number = close_telescope_prompt(prompt_bufnr)
97+
gh_qf_action(issue_number, { "issue", "develop", "--checkout" }, "Checking out issue #")
98+
end
99+
95100
A.gh_pr_checkout = function(prompt_bufnr)
96101
local pr_number = close_telescope_prompt(prompt_bufnr)
97102
gh_qf_action(pr_number, { "pr", "checkout" }, "Checking out pull request #")

0 commit comments

Comments
 (0)