Skip to content

Commit 4b0175f

Browse files
committed
github
1 parent e6e0bc6 commit 4b0175f

File tree

2 files changed

+274
-0
lines changed

2 files changed

+274
-0
lines changed
Lines changed: 273 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,273 @@
1+
# GitHub Integration
2+
3+
This page provides information on how to connect to GitHub. It enables users to perform actions such as creating issues, updating releases, and searching for issues.
4+
5+
## Connect GitHub
6+
7+
To connect to GitHub, you will need to authenticate using personal access tokens or OAuth. These tokens provide the necessary permissions to interact with repositories you have access to.
8+
9+
## Query GitHub
10+
11+
The following section provides a **reference guide** describing available commands and their parameters.
12+
13+
14+
15+
### Create Issue
16+
17+
Create a new issue in a specific repository.
18+
19+
#### Owner `string`
20+
21+
<dd>
22+
23+
The owner's name is the account or organization that owns the repository. It should match the username or organization name on GitHub where the repository resides. If omitted, the command will not execute correctly as the system cannot deduce the repository's unique location.
24+
25+
*Example*:
26+
27+
```
28+
janedoe
29+
```
30+
31+
</dd>
32+
33+
#### Repo `string`
34+
35+
<dd>
36+
37+
This is the name of the repository where the issue will be created. The name should be the exact name as it appears on GitHub. This field is mandatory to identify the correct repository for issue creation.
38+
39+
*Example*:
40+
41+
```
42+
awesome-project
43+
```
44+
45+
</dd>
46+
47+
#### Title `string`
48+
49+
<dd>
50+
51+
The title of the issue succinctly describes the problem or task. It is a mandatory field and aids in quickly understanding the issue's content at a glance.
52+
53+
*Example*:
54+
55+
```
56+
Improve login process
57+
```
58+
59+
</dd>
60+
61+
#### Body `string`
62+
63+
<dd>
64+
65+
The body contains detailed information about the issue. It supports markdown formatting and can include several forms of media to enrich the content. This field is optional but highly recommended for providing context.
66+
67+
*Example*:
68+
69+
```
70+
The login process should remember users for quicker access.
71+
```
72+
73+
</dd>
74+
75+
#### Assignees `array`
76+
77+
<dd>
78+
79+
This property lists GitHub usernames of those assigned to the issue. Provide usernames in an array format. If no assignees are provided, the issue will remain unassigned.
80+
81+
*Example*:
82+
83+
```
84+
["johndoe", "janedoe"]
85+
```
86+
87+
</dd>
88+
89+
90+
91+
### Update Issue
92+
93+
Update details of an existing issue in a specific repository.
94+
95+
#### Owner `string`
96+
97+
<dd>
98+
99+
Similar to the Create Issue command, this represents the account or organization that owns the repository. It's crucial for identifying the correct repository while updating an issue.
100+
101+
102+
</dd>
103+
104+
#### Repo `string`
105+
106+
<dd>
107+
108+
A mandatory field representing the exact name of the repository on GitHub that contains the issue you want to update.
109+
110+
111+
112+
</dd>
113+
114+
#### Issue Number `integer`
115+
116+
<dd>
117+
118+
The issue number refers to the unique number assigned to the issue within the repository. This numeric ID helps in identifying the issue that needs an update.
119+
120+
121+
</dd>
122+
123+
#### Title `string`
124+
125+
<dd>
126+
127+
Can be updated to reflect changes or new directions in the issue's purpose. It provides a quick summary of the issue and is necessary for clarity.
128+
129+
130+
131+
</dd>
132+
133+
#### Body `string`
134+
135+
<dd>
136+
137+
Update body content if details of the issue need clarification or additional context. Supports markdown formatting; this is optional but suggested for comprehensive communication.
138+
139+
*Example*:
140+
141+
```
142+
Include OAuth 2.0 support for enhanced security.
143+
```
144+
145+
</dd>
146+
147+
#### Assignees `array`
148+
149+
<dd>
150+
151+
Update the list of users assigned to the issue. This allows for task reassignment as needed and is provided as an array of GitHub username strings.
152+
153+
*Example*:
154+
155+
```
156+
["alex", "sam"]
157+
```
158+
159+
</dd>
160+
161+
#### State `string`
162+
163+
<dd>
164+
165+
The state indicates whether the issue is open or closed. Use "open" to keep the issue active or "closed" to conclude it. Transitioning the state is integral for workflow management.
166+
167+
*Example*:
168+
169+
```
170+
open
171+
```
172+
173+
</dd>
174+
175+
176+
177+
### Get Issue By Number
178+
179+
Retrieve details of a specific issue using its unique number.
180+
181+
#### Owner `string`
182+
183+
<dd>
184+
185+
Identifies the account or organization owning the repository. Essential to locate the correct repository.
186+
187+
*Example*:
188+
189+
```
190+
janedoe
191+
```
192+
193+
</dd>
194+
195+
#### Repo `string`
196+
197+
<dd>
198+
199+
The repository name is required to identify where to fetch the issue from, ensuring precise retrieval.
200+
201+
*Example*:
202+
203+
```
204+
awesome-project
205+
```
206+
207+
</dd>
208+
209+
#### Issue Number `integer`
210+
211+
<dd>
212+
213+
Specifies the unique ID of the issue to retrieve. This numeric ID is crucial for fetching the correct issue.
214+
215+
*Example*:
216+
217+
```
218+
42
219+
```
220+
221+
</dd>
222+
223+
224+
225+
### Lock Issue
226+
227+
Lock an issue or conversation to prevent further communications.
228+
229+
#### Owner `string`
230+
231+
<dd>
232+
233+
Owner identifies the account or organization associated with the repository containing the issue.
234+
235+
*Example*:
236+
237+
```
238+
janedoe
239+
```
240+
241+
</dd>
242+
243+
#### Repo `string`
244+
245+
<dd>
246+
247+
Determines which repository contains the issue to be locked, a necessary identifier for the command execution.
248+
249+
250+
</dd>
251+
252+
#### Issue Number `integer`
253+
254+
<dd>
255+
256+
The unique ID of the issue that is to be locked, ensuring the correct issue is identified for locking purposes.
257+
258+
</dd>
259+
260+
#### Lock Reason `string`
261+
262+
<dd>
263+
264+
Provides context for why the issue is being locked, aiding in transparent communication of process decisions. If omitted, no specific lock reason will be visible.
265+
266+
*Example*:
267+
268+
```
269+
off-topic
270+
```
271+
272+
</dd>
273+

website/sidebars.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,7 @@ const sidebars = {
324324
'connect-data/reference/aws-lambda',
325325
'connect-data/reference/querying-google-sheets',
326326
'connect-data/reference/google-calendar',
327+
'connect-data/reference/github',
327328
'connect-data/reference/hubspot',
328329
'connect-data/reference/jira',
329330
'connect-data/reference/slack',

0 commit comments

Comments
 (0)