Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc51c127

Browse files
committed
docs: add how to for github to coder tasks
1 parentc627a68 commitc51c127

File tree

2 files changed

+60
-0
lines changed

2 files changed

+60
-0
lines changed

‎docs/ai-coder/github-to-tasks.md‎

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
#How To: GitHub to Coder Tasks
2+
3+
##Background
4+
5+
This guide will help you configure GitHub and Coder and connect them together, allowing for the Coder Tasks to be launched directly from GitHub issues and resulting in pull requests being issued from the Agentic AI against the original GitHub repository, with a link to the issue the work was triggered from. Combined with the Coder Notifications for Tasks, this setup allows for the developers to safely and securely delegate a number of implementation tasks to Agentic AI, while being able to focus on something else in the meantime.
6+
7+
The diagram below illustrates the flow from GitHub to Coder Tasks and back to GitHub:
8+
9+
TODO
10+
11+
##How to implement the GHA
12+
13+
###Step 1: Create a Coder Deployment
14+
15+
Please follow[Coder Quickstart Guide](https://coder.com/docs/tutorials/quickstart) instructions or alternatively the[Coder Installation Guide](https://coder.com/docs/install) to deploy Coder to your environment.
16+
17+
In order for the GitHub to Coder integration to work, your Coder server needs to be accessible by GitHub. You will need to connect Coder to GitHub in the future steps.
18+
19+
###Step 2: Enable Claude Code in Coder Tasks
20+
21+
In this step you need to configure your Coder Tasks template with Claude Code (or any other Agentic AI of your choice). This will allow you to use this template for the purpose of the integration.
22+
23+
It is strongly advised that you used the following Template Example for your setup. This template (**link needed**) has been tuned specifically for this type of integrations by Coder experts.
24+
25+
If you already have a polished template which you are using in your environment, please merge the blocks labelled in the example (**link needed**) with`COPY THIS TO YOUR TEMPLATE` comment. These sections are coming with additional comments which will help you understand what they do.
26+
27+
Of course, you may always tune the Template further if you want to. Please check what we have in[Coder Registry](https://registry.coder.com/) to enhance it with additional modules.
28+
29+
###Step 3: Create the GitHub Workflow
30+
31+
In this step you need to configure your Coder Tasks template with Claude Code (or any other Agentic AI of your choice). This will allow you to use this template for the purpose of the integration.
32+
33+
It is strongly advised that you used the following Template Example for your setup. This template (**link needed**) has been tuned specifically for this type of integrations by Coder experts.
34+
35+
If you already have a polished template which you are using in your environment, please merge the blocks labelled in the example (**link needed**) with`COPY THIS TO YOUR TEMPLATE` comment. These sections are coming with additional comments which will help you understand what they do.
36+
37+
Of course, you may always tune the Template further if you want to. Please check what we have in[Coder Registry](https://registry.coder.com/) to enhance it with additional modules.
38+
39+
###Step 4: Test Your Setup
40+
41+
The simplest way to test your new integration is to open (or create) a simple GitHub issue in your project which describes a change to your project or a relatively simple bug fix to perform. For the sake of test, we recommend something basic like “The sidebar color needs to be red” or “The text ‘Coder Tasks are Awesome’ needs to appear in the top left corner of the screen”.
42+
43+
Once you identify (or create) a simple issue in GitHub issues for your repository, please label it with`coder` label. This will trigger the automatic GitHub action. You will soon receive a Tasks notification from Coder informing you of a newly started task, and you will also see the Task ID linked to the GitHub issue.
44+
45+
>Why`coder` label, you might ask? Because it makes it super easy to later find all the issues or feature requests which were used with Coder Tasks.
46+
>
47+
48+
Depending on the complexity of the task and the size of your repository the Coder Task may take minutes or hours to complete. You may watch the progress by opening your task list and the details of this particular task via`https://<your.coder.server>/tasks` or by using the link which you will find in the issue you started the GitHub action from. But probably a better idea is to do something else in the meantime and just wait for the Coder Tasks notification about your task completion.
49+
50+
If everything went well you should also see the pull request issued on your behalf against the repository and linked to the GitHub issue you have started the whole flow from. Depending on how well the Agentic AI did its job you may also need to check the Coder Workspace assigned to this particular task and help the Agent get the changes across the finish line.
51+
52+
And that’s it! You may now enjoy all the hours you have saved because of this easy integration.
53+
54+
##Sumamry

‎docs/manifest.json‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -904,6 +904,12 @@
904904
"title":"Security\u0026 Boundaries",
905905
"description":"Learn about security and boundaries when running AI coding agents in Coder",
906906
"path":"./ai-coder/security.md"
907+
},
908+
{
909+
"title":"GitHub to Coder Tasks",
910+
"description":"How to setup Coder Tasks to run in GitHub",
911+
"path":"./ai-coder/github-to-tasks.md",
912+
"state": ["beta"]
907913
}
908914
]
909915
},

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp