Using GitHub actions in action flows

<body>
<p id="docs-hc-snippet" style="display: none;">Before you can include external actions in your action flows, you must connect the action builder to the external system.</p>
<div class="article-banners">
<div id="docs-wmp-link">
<a href="https://support.zendesk.com/hc/en-us/articles/5411234991258-plan" rel="noopener" target="_blank">What's my plan?</a>
</div>
<div class="article-banner" id="suite_all">
<table>
<tbody>
<tr>
<td>
<strong>All Suites</strong>
</td>
<td>Team, Growth, Professional, Enterprise, or Enterprise Plus</td>
</tr>
</tbody>
</table>
</div>
<div class="article-banner" id="support_all">
<table>
<tbody>
<tr>
<td>
<strong>Support</strong>
</td>
<td>Team, Professional, or Enterprise</td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="docs-ai-summary">
<p id="docs-ai-summary-toggle">Summary: <span id="up-triangle">◀</span><span id="down-triangle">▼</span></p>
<p id="docs-ai-summary-content">You can connect action flows to GitHub to automate tasks like creating, updating, and commenting on issues and pull requests. Use a dedicated service account for connections and review permissions carefully. Available actions include searching and looking up issues, pull requests, and users, helping you integrate GitHub workflows into your support processes for better collaboration and tracking.</p>
</div>
<div class="body">
<div class="p">By connecting the <a class="xref" href="https://support.zendesk.com/hc/en-us/articles/8855513857306" target="_blank">action builder</a> to external systems, such as GitHub, admins
can integrate Zendesk with external systems in automated workflows, improving
collaboration and maintaining a seamless experience across multiple platforms.<div class="note" id="zug_action_flow_external_GitHub__note_i2z_jtz_v3c">
<span class="notetitle">Note:</span> The steps associated with external systems in action flows are
referred to collectively as <em class="ph i">external actions</em>.</div>
</div>
<div class="p">This article contains the following topics:<ul class="ul" id="zug_action_flow_external_GitHub__ul_ysp_sn4_zgc">
<li class="li"><a class="xref" href="#topic_fcs_gtn_g3c">Connecting GitHub to action builder</a></li>
<li class="li"><a class="xref" href="#topic_z1q_htn_g3c">Using GitHub actions in action flows</a></li>
</ul>
</div>
</div>
<div aria-labelledby="ariaid-title2" class="topic nested1" id="topic_fcs_gtn_g3c">
<h2 class="title topictitle2" id="ariaid-title2">Connecting GitHub to action builder</h2>
<div class="body">
<p class="p">Before you can include external actions in your action flows, you must connect the
action builder to the external system.</p>
<div class="p">When connecting to external systems for use in action flows, the following best practices are recommended:<ul class="ul" id="topic_fcs_gtn_g3c__d8e13">
<li class="li">All external actions performed by an action flow are attributed to the user who connected the
external system. Therefore, it's a best practice to use a dedicated service
account rather than personal credentials when connecting to each external
system.</li>
<li class="li">All integrations request access to necessary scopes. However, it's important that you review and validate the scopes before authorizing the connection to the external system.</li>
<li class="li">When managing credentials for API key-based tools, such as OpenAI, it's best to store keys in a secure vault or credential manager.</li>
</ul>
</div>
<div class="p">
<strong class="ph b">To connect action builder to GitHub</strong><ol class="ol" id="topic_fcs_gtn_g3c__ol_psh_lk4_zgc">
<li class="li"><span class="ph">In <a class="xref" href="https://support.zendesk.com/hc/en-us/articles/4581766374554#topic_hfg_dyz_1hb" target="_blank">Admin Center</a>, click <img class="image" src="https://zen-marketing-documentation.s3.amazonaws.com/docs/en/ac_apps_integrations_icon.png">
<strong class="ph b">Apps and integrations</strong> in the sidebar, then select <strong class="ph b">Actions &gt; Action
flows</strong>.</span></li>
<li class="li">
<a class="xref" href="https://support.zendesk.com/hc/en-us/articles/8855601898266" target="_blank">Create</a> or <a class="xref" href="https://support.zendesk.com/hc/en-us/articles/9052312956570" target="_blank">edit</a> an action flow.</li>
<li class="li">Open the step sidebar.</li>
<li class="li">Under <strong class="ph b">External actions</strong>, click <strong class="ph b">GitHub</strong>.</li>
<li class="li">Click <strong class="ph b">Connect</strong>.</li>
<li class="li">Follow GitHub's prompts to authenticate and complete the connection.<p class="p">The
GitHub connection uses OAuth 2.0 authentication with the authorization
code grant type. When you connect GitHub to action builder, you will be
redirected to GitHub to authorize the connection. The connector will
receive an access token that allows action flows to perform operations
on your behalf.</p>
<p class="p">Review the requested permissions carefully before
authorizing the connection. The connector will request access to your
repositories, issues, and pull requests based on your account
permissions.</p>
<div class="note" id="topic_fcs_gtn_g3c__note_ilr_mtz_v3c">
<span class="notetitle">Note:</span> All external actions
performed by an action flow are attributed to the user who connected the
external system. Therefore, it is a best practice to use a dedicated
service account rather than personal credentials when connecting to each
external system.</div>
</li>
</ol>
</div>
<p class="p">After you've connected to the system, you'll see an indicator that it's connected and
details about the instance you're connected to, as well as the actions available for
GitHub.</p>
</div>
</div>
<div aria-labelledby="ariaid-title3" class="topic nested1" id="topic_z1q_htn_g3c">
<h2 class="title topictitle2" id="ariaid-title3">Using GitHub actions in action flows</h2>
<div class="body">
<div class="p">The following GitHub actions are available:<ul class="ul" id="topic_z1q_htn_g3c__ul_jby_q44_zgc">
<li class="li"><a class="xref" href="#topic_wfm_m4q_jjc">Create issue</a></li>
<li class="li"><a class="xref" href="#topic_vmr_lkz_jjc">Update issue</a></li>
<li class="li"><a class="xref" href="#topic_lqp_skz_jjc">Add comment to
issue</a></li>
<li class="li"><a class="xref" href="#topic_lvn_1nz_jjc">Search issues</a></li>
<li class="li"><a class="xref" href="#topic_lyl_jnz_jjc">Lookup issue</a></li>
<li class="li"><a class="xref" href="#topic_obw_gkg_rjc">Create a pull
request</a></li>
<li class="li"><a class="xref" href="#topic_ndv_glg_rjc">Update pull
request</a></li>
<li class="li"><a class="xref" href="#topic_fxz_qlg_rjc">Add comment to pull
request</a></li>
<li class="li"><a class="xref" href="#topic_tgn_zlg_rjc">Search pull
requests</a></li>
<li class="li"><a class="xref" href="#topic_wsg_nng_rjc">Lookup pull
request</a></li>
<li class="li"><a class="xref" href="#topic_sfv_zng_rjc">Lookup user</a></li>
</ul>
</div>
</div>
<div aria-labelledby="ariaid-title4" class="topic nested2" id="topic_wfm_m4q_jjc">
<h3 class="title topictitle3" id="ariaid-title4">Creating an issue</h3>
<div class="body">
<p class="p">Use the <em class="ph i">Create issue</em> action to create a new issue in a GitHub
repository.</p>
<p class="p">This action has the following inputs and outputs:</p>
<div class="p">
<div class="tablenoborder">
<table border="1" cellpadding="4" cellspacing="0" class="table" frame="border" id="topic_wfm_m4q_jjc__table_zlg_ckz_jjc" rules="all" summary="">
<colgroup>
<col>
<col>
</colgroup>
<thead class="thead" style="text-align:left;">
<tr class="row">
<th class="entry cellrowborder" id="d89e238" style="text-align:left;vertical-align:top;"> </th>
<th class="entry cellrowborder" id="d89e240" style="text-align:left;vertical-align:top;">Variables</th>
</tr>
</thead>
<tbody class="tbody">
<tr class="row">
<td class="entry cellrowborder" headers="d89e238" style="text-align:left;vertical-align:top;">Inputs</td>
<td class="entry cellrowborder" headers="d89e240" style="text-align:left;vertical-align:top;">Required: <code class="ph codeph">Owner</code>,
<code class="ph codeph">Repository</code>,
<code class="ph codeph">Title</code><p class="p">Owner is the account owner
(user or organization) of the
repository.</p>
<p class="p">Optional: <code class="ph codeph">Body</code>,
<code class="ph codeph">Assignees</code>, <code class="ph codeph">Labels</code>,
<code class="ph codeph">Milestone</code></p>
<p class="p">Assignees and
Labels should be comma-separated lists.</p>
</td>
</tr>
<tr class="row">
<td class="entry cellrowborder" headers="d89e238" style="text-align:left;vertical-align:top;">Output</td>
<td class="entry cellrowborder" headers="d89e240" style="text-align:left;vertical-align:top;">Issue details including ID, number, URL, state, creation
timestamp, and user.</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<div aria-labelledby="ariaid-title5" class="topic nested2" id="topic_vmr_lkz_jjc">
<h3 class="title topictitle3" id="ariaid-title5">Updating an issue</h3>
<div class="body">
<p class="p">Use the <em class="ph i">Update issue</em> action to update an existing issue's fields or state. </p>
<p class="p">This action has the following inputs and outputs:</p>
<div class="p">
<div class="tablenoborder">
<table border="1" cellpadding="4" cellspacing="0" class="table" frame="border" id="topic_vmr_lkz_jjc__table_wmr_lkz_jjc" rules="all" summary="">
<colgroup>
<col>
<col>
</colgroup>
<thead class="thead" style="text-align:left;">
<tr class="row">
<th class="entry cellrowborder" id="d89e326" style="text-align:left;vertical-align:top;"> </th>
<th class="entry cellrowborder" id="d89e328" style="text-align:left;vertical-align:top;">Variables</th>
</tr>
</thead>
<tbody class="tbody">
<tr class="row">
<td class="entry cellrowborder" headers="d89e326" style="text-align:left;vertical-align:top;">Inputs</td>
<td class="entry cellrowborder" headers="d89e328" style="text-align:left;vertical-align:top;">Required: <code class="ph codeph">Owner</code>,
<code class="ph codeph">Repository</code>,
<code class="ph codeph">Issue</code><p class="p">State can be "open" or
"closed." Only provided fields will be
updated.</p>
<p class="p">Optional: <code class="ph codeph">Title</code>,
<code class="ph codeph">Body</code>, <code class="ph codeph">State</code>,
<code class="ph codeph">Assignees</code>,
<code class="ph codeph">Labels</code></p>
</td>
</tr>
<tr class="row">
<td class="entry cellrowborder" headers="d89e326" style="text-align:left;vertical-align:top;">Output</td>
<td class="entry cellrowborder" headers="d89e328" style="text-align:left;vertical-align:top;">Updated issue details including ID, number, URL, state,
and update timestamp.</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<div aria-labelledby="ariaid-title6" class="topic nested2" id="topic_lqp_skz_jjc">
<h3 class="title topictitle3" id="ariaid-title6">Adding a comment to an issue</h3>
<div class="body">
<p class="p">Use the <em class="ph i">Add comment to issue</em> action to add a comment to an existing GitHub
issue.</p>
<p class="p">This action has the following inputs and outputs:</p>
<div class="p">
<div class="tablenoborder">
<table border="1" cellpadding="4" cellspacing="0" class="table" frame="border" id="topic_lqp_skz_jjc__table_nqp_skz_jjc" rules="all" summary="">
<colgroup>
<col>
<col>
</colgroup>
<thead class="thead" style="text-align:left;">
<tr class="row">
<th class="entry cellrowborder" id="d89e415" style="text-align:left;vertical-align:top;"> </th>
<th class="entry cellrowborder" id="d89e417" style="text-align:left;vertical-align:top;">Variables</th>
</tr>
</thead>
<tbody class="tbody">
<tr class="row">
<td class="entry cellrowborder" headers="d89e415" style="text-align:left;vertical-align:top;">Inputs</td>
<td class="entry cellrowborder" headers="d89e417" style="text-align:left;vertical-align:top;">Required: <code class="ph codeph">Owner</code>,
<code class="ph codeph">Repository</code>, <code class="ph codeph">Issue</code>,
<code class="ph codeph">Body</code><p class="p">Body supports GitHub Flavored
Markdown formatting.</p>
</td>
</tr>
<tr class="row">
<td class="entry cellrowborder" headers="d89e415" style="text-align:left;vertical-align:top;">Output</td>
<td class="entry cellrowborder" headers="d89e417" style="text-align:left;vertical-align:top;">Comment details including ID, URL, creation timestamp,
user, and body text.</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<div aria-labelledby="ariaid-title7" class="topic nested2" id="topic_lvn_1nz_jjc">
<h3 class="title topictitle3" id="ariaid-title7">Searching for issues</h3>
<div class="body">
<p class="p">Use the <em class="ph i">Search issues</em> action to find issues matching search criteria
across GitHub repositories.</p>
<p class="p">This action has the following inputs and outputs:</p>
<div class="p">
<div class="tablenoborder">
<table border="1" cellpadding="4" cellspacing="0" class="table" frame="border" id="topic_lvn_1nz_jjc__table_nvn_1nz_jjc" rules="all" summary="">
<colgroup>
<col>
<col>
</colgroup>
<thead class="thead" style="text-align:left;">
<tr class="row">
<th class="entry cellrowborder" id="d89e492" style="text-align:left;vertical-align:top;"> </th>
<th class="entry cellrowborder" id="d89e494" style="text-align:left;vertical-align:top;">Variables</th>
</tr>
</thead>
<tbody class="tbody">
<tr class="row">
<td class="entry cellrowborder" headers="d89e492" style="text-align:left;vertical-align:top;">Inputs</td>
<td class="entry cellrowborder" headers="d89e494" style="text-align:left;vertical-align:top;">Required: <code class="ph codeph">Query</code><p class="p">Optional: <code class="ph codeph">Sort
by</code>, <code class="ph codeph">Per page</code>,
<code class="ph codeph">Page</code></p>
<p class="p">Query uses GitHub search
syntax (for example, "repo:owner/repo is:open
label:bug"). Sort by options include Best match, Newest,
Oldest, Most commented, Least commented, Recently
updated, and Least recently updated. Per page maximum is
100, default is 30.</p>
</td>
</tr>
<tr class="row">
<td class="entry cellrowborder" headers="d89e492" style="text-align:left;vertical-align:top;">Output</td>
<td class="entry cellrowborder" headers="d89e494" style="text-align:left;vertical-align:top;">Array of issues with total count, containing issue
numbers, titles, states, URLs, and timestamps.</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<div aria-labelledby="ariaid-title8" class="topic nested2" id="topic_lyl_jnz_jjc">
<h3 class="title topictitle3" id="ariaid-title8">Looking up an issue</h3>
<div class="body">
<p class="p">Use the <em class="ph i">Lookup issue</em> action to retrieve complete details for a specific
GitHub issue.</p>
<p class="p">This action has the following inputs and outputs:</p>
<div class="p">
<div class="tablenoborder">
<table border="1" cellpadding="4" cellspacing="0" class="table" frame="border" id="topic_lyl_jnz_jjc__table_myl_jnz_jjc" rules="all" summary="">
<colgroup>
<col>
<col>
</colgroup>
<thead class="thead" style="text-align:left;">
<tr class="row">
<th class="entry cellrowborder" id="d89e569" style="text-align:left;vertical-align:top;"> </th>
<th class="entry cellrowborder" id="d89e571" style="text-align:left;vertical-align:top;">Variables</th>
</tr>
</thead>
<tbody class="tbody">
<tr class="row">
<td class="entry cellrowborder" headers="d89e569" style="text-align:left;vertical-align:top;">Inputs</td>
<td class="entry cellrowborder" headers="d89e571" style="text-align:left;vertical-align:top;">Required: <code class="ph codeph">Owner</code>,
<code class="ph codeph">Repository</code>,
<code class="ph codeph">Issue</code>
</td>
</tr>
<tr class="row">
<td class="entry cellrowborder" headers="d89e569" style="text-align:left;vertical-align:top;">Output</td>
<td class="entry cellrowborder" headers="d89e571" style="text-align:left;vertical-align:top;">Complete issue details including ID, number, title, body,
state, URL, user, assignees, labels, milestone, comment
count, and timestamps.</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<div aria-labelledby="ariaid-title9" class="topic nested2" id="topic_obw_gkg_rjc">
<h3 class="title topictitle3" id="ariaid-title9">Creating a pull request</h3>
<div class="body">
<p class="p">Use the <em class="ph i">Create pull request</em> action to create a new pull request in a
GitHub repository.</p>
<p class="p">This action has the following inputs and outputs:</p>
<div class="p">
<div class="tablenoborder">
<table border="1" cellpadding="4" cellspacing="0" class="table" frame="border" id="topic_obw_gkg_rjc__table_pbw_gkg_rjc" rules="all" summary="">
<colgroup>
<col>
<col>
</colgroup>
<thead class="thead" style="text-align:left;">
<tr class="row">
<th class="entry cellrowborder" id="d89e640" style="text-align:left;vertical-align:top;"> </th>
<th class="entry cellrowborder" id="d89e642" style="text-align:left;vertical-align:top;">Variables</th>
</tr>
</thead>
<tbody class="tbody">
<tr class="row">
<td class="entry cellrowborder" headers="d89e640" style="text-align:left;vertical-align:top;">Inputs</td>
<td class="entry cellrowborder" headers="d89e642" style="text-align:left;vertical-align:top;">Required: <code class="ph codeph">Owner</code>,
<code class="ph codeph">Repository</code>, <code class="ph codeph">Title</code>,
<code class="ph codeph">Head branch</code>, <code class="ph codeph">Base
branch</code><p class="p">Head branch is the branch to merge
from, Base branch is the branch to merge into (for
example, main). </p>
<p class="p">Optional: <code class="ph codeph">Body</code>,
<code class="ph codeph">Draft</code>, <code class="ph codeph">Maintainer can
modify</code></p>
<p class="p">Draft and Maintainer can
modify fields accept true or false values.</p>
</td>
</tr>
<tr class="row">
<td class="entry cellrowborder" headers="d89e640" style="text-align:left;vertical-align:top;">Output</td>
<td class="entry cellrowborder" headers="d89e642" style="text-align:left;vertical-align:top;">Pull request details including ID, number, URL, state,
draft status, creation timestamp, user, head ref, and base
ref.</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<div aria-labelledby="ariaid-title10" class="topic nested2" id="topic_ndv_glg_rjc">
<h3 class="title topictitle3" id="ariaid-title10">Updating a pull request</h3>
<div class="body">
<p class="p">Use the <em class="ph i">Update pull request</em> action to update an existing pull request's
fields or state.</p>
<p class="p">This action has the following inputs and outputs:</p>
<div class="p">
<div class="tablenoborder">
<table border="1" cellpadding="4" cellspacing="0" class="table" frame="border" id="topic_ndv_glg_rjc__table_odv_glg_rjc" rules="all" summary="">
<colgroup>
<col>
<col>
</colgroup>
<thead class="thead" style="text-align:left;">
<tr class="row">
<th class="entry cellrowborder" id="d89e732" style="text-align:left;vertical-align:top;"> </th>
<th class="entry cellrowborder" id="d89e734" style="text-align:left;vertical-align:top;">Variables</th>
</tr>
</thead>
<tbody class="tbody">
<tr class="row">
<td class="entry cellrowborder" headers="d89e732" style="text-align:left;vertical-align:top;">Inputs</td>
<td class="entry cellrowborder" headers="d89e734" style="text-align:left;vertical-align:top;">Required: <code class="ph codeph">Owner</code>,
<code class="ph codeph">Repository</code>, <code class="ph codeph">Pull
request</code><p class="p">Optional: <code class="ph codeph">Title</code>,
<code class="ph codeph">Body</code>, <code class="ph codeph">State</code>,
<code class="ph codeph">Base branch</code></p>
<p class="p">State can be
"open" or "closed." Only provided fields will be
updated.</p>
</td>
</tr>
<tr class="row">
<td class="entry cellrowborder" headers="d89e732" style="text-align:left;vertical-align:top;">Output</td>
<td class="entry cellrowborder" headers="d89e734" style="text-align:left;vertical-align:top;">Updated pull request details including ID, number, URL,
state, and update timestamp.</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<div aria-labelledby="ariaid-title11" class="topic nested2" id="topic_fxz_qlg_rjc">
<h3 class="title topictitle3" id="ariaid-title11">Adding a comment to a pull request</h3>
<div class="body">
<p class="p">Use the <em class="ph i">Add comment to pull request</em> action to add a review comment to an
existing GitHub pull request.</p>
<p class="p">This action has the following inputs and outputs:</p>
<div class="p">
<div class="tablenoborder">
<table border="1" cellpadding="4" cellspacing="0" class="table" frame="border" id="topic_fxz_qlg_rjc__table_gxz_qlg_rjc" rules="all" summary="">
<colgroup>
<col>
<col>
</colgroup>
<thead class="thead" style="text-align:left;">
<tr class="row">
<th class="entry cellrowborder" id="d89e818" style="text-align:left;vertical-align:top;"> </th>
<th class="entry cellrowborder" id="d89e820" style="text-align:left;vertical-align:top;">Variables</th>
</tr>
</thead>
<tbody class="tbody">
<tr class="row">
<td class="entry cellrowborder" headers="d89e818" style="text-align:left;vertical-align:top;">Inputs</td>
<td class="entry cellrowborder" headers="d89e820" style="text-align:left;vertical-align:top;">Required: <code class="ph codeph">Owner</code>,
<code class="ph codeph">Repository</code>, <code class="ph codeph">Pull
request</code>, <code class="ph codeph">Body</code><p class="p">Body supports
GitHub Flavored Markdown formatting.</p>
</td>
</tr>
<tr class="row">
<td class="entry cellrowborder" headers="d89e818" style="text-align:left;vertical-align:top;">Output</td>
<td class="entry cellrowborder" headers="d89e820" style="text-align:left;vertical-align:top;">Comment details including ID, URL, creation timestamp,
user, and body text.</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<div aria-labelledby="ariaid-title12" class="topic nested2" id="topic_tgn_zlg_rjc">
<h3 class="title topictitle3" id="ariaid-title12">Searching for pull requests</h3>
<div class="body">
<p class="p">Use the <em class="ph i">Search pull requests</em> action to find pull requests matching search
criteria across GitHub repositories.</p>
<p class="p">This action has the following inputs and outputs:</p>
<div class="p">
<div class="tablenoborder">
<table border="1" cellpadding="4" cellspacing="0" class="table" frame="border" id="topic_tgn_zlg_rjc__table_ugn_zlg_rjc" rules="all" summary="">
<colgroup>
<col>
<col>
</colgroup>
<thead class="thead" style="text-align:left;">
<tr class="row">
<th class="entry cellrowborder" id="d89e894" style="text-align:left;vertical-align:top;"> </th>
<th class="entry cellrowborder" id="d89e896" style="text-align:left;vertical-align:top;">Variables</th>
</tr>
</thead>
<tbody class="tbody">
<tr class="row">
<td class="entry cellrowborder" headers="d89e894" style="text-align:left;vertical-align:top;">Inputs</td>
<td class="entry cellrowborder" headers="d89e896" style="text-align:left;vertical-align:top;">Required: <code class="ph codeph">Query</code><p class="p">Optional: <code class="ph codeph">Sort
by</code>, <code class="ph codeph">Per page</code>,
<code class="ph codeph">Page</code></p>
<p class="p">Query uses GitHub search
syntax (e.g., "repo:owner/repo is:open"). Sort by
options include Best match, Newest, Oldest, Most
commented, Least commented, Recently updated, and Least
recently updated. Per page maximum is 100, default is
30.</p>
</td>
</tr>
<tr class="row">
<td class="entry cellrowborder" headers="d89e894" style="text-align:left;vertical-align:top;">Output</td>
<td class="entry cellrowborder" headers="d89e896" style="text-align:left;vertical-align:top;">Array of pull requests with total count, containing PR
numbers, titles, states, URLs, and timestamps.</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<div aria-labelledby="ariaid-title13" class="topic nested2" id="topic_wsg_nng_rjc">
<h3 class="title topictitle3" id="ariaid-title13">Looking up a pull request</h3>
<div class="body">
<p class="p">Use the <em class="ph i">Lookup pull request</em> action to retrieve complete details for a
specific GitHub pull request.</p>
<p class="p">This action has the following inputs and outputs:</p>
<div class="p">
<div class="tablenoborder">
<table border="1" cellpadding="4" cellspacing="0" class="table" frame="border" id="topic_wsg_nng_rjc__table_xsg_nng_rjc" rules="all" summary="">
<colgroup>
<col>
<col>
</colgroup>
<thead class="thead" style="text-align:left;">
<tr class="row">
<th class="entry cellrowborder" id="d89e972" style="text-align:left;vertical-align:top;"> </th>
<th class="entry cellrowborder" id="d89e974" style="text-align:left;vertical-align:top;">Variables</th>
</tr>
</thead>
<tbody class="tbody">
<tr class="row">
<td class="entry cellrowborder" headers="d89e972" style="text-align:left;vertical-align:top;">Inputs</td>
<td class="entry cellrowborder" headers="d89e974" style="text-align:left;vertical-align:top;">Required: <code class="ph codeph">Owner</code>,
<code class="ph codeph">Repository</code>, <code class="ph codeph">Pull
request</code>
</td>
</tr>
<tr class="row">
<td class="entry cellrowborder" headers="d89e972" style="text-align:left;vertical-align:top;">Output</td>
<td class="entry cellrowborder" headers="d89e974" style="text-align:left;vertical-align:top;">Complete issue details including ID, number, title, body,
state, URL, user, head ref, base ref, draft status,
mergeable status, and timestamps.</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<div aria-labelledby="ariaid-title14" class="topic nested2" id="topic_sfv_zng_rjc">
<h3 class="title topictitle3" id="ariaid-title14">Looking up a user</h3>
<div class="body">
<p class="p">Use the <em class="ph i">Lookup user</em> action to retrieve GitHub user information by username
or email.</p>
<p class="p">This action has the following inputs and outputs:</p>
<div class="p">
<div class="tablenoborder">
<table border="1" cellpadding="4" cellspacing="0" class="table" frame="border" id="topic_sfv_zng_rjc__table_tfv_zng_rjc" rules="all" summary="">
<colgroup>
<col>
<col>
</colgroup>
<thead class="thead" style="text-align:left;">
<tr class="row">
<th class="entry cellrowborder" id="d89e1043" style="text-align:left;vertical-align:top;"> </th>
<th class="entry cellrowborder" id="d89e1045" style="text-align:left;vertical-align:top;">Variables</th>
</tr>
</thead>
<tbody class="tbody">
<tr class="row">
<td class="entry cellrowborder" headers="d89e1043" style="text-align:left;vertical-align:top;">Inputs</td>
<td class="entry cellrowborder" headers="d89e1045" style="text-align:left;vertical-align:top;">Required: <code class="ph codeph">Lookup by</code>,
<code class="ph codeph">Value</code><p class="p">Lookup by can be "Username" or
"Email." Email search only finds users who have made
their email public on GitHub.</p>
</td>
</tr>
<tr class="row">
<td class="entry cellrowborder" headers="d89e1043" style="text-align:left;vertical-align:top;">Output</td>
<td class="entry cellrowborder" headers="d89e1045" style="text-align:left;vertical-align:top;">User details including ID, login, name, email, bio,
avatar URL, profile URL, type, and timestamps.</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<script id="docs-schema-markup" type="application/ld+json">{
"@context": "https://schema.org",
"@type": "TechArticle",
"@id": "https://support.zendesk.com/hc/en-us/articles/10930759959194-Using-GitHub-actions-in-action-flows",
"url": "https://support.zendesk.com/hc/en-us/articles/10930759959194-Using-GitHub-actions-in-action-flows",
"headline": "Using GitHub actions in action flows",
"description": "You can connect the action builder to GitHub to automate workflows by creating, updating, and managing issues and pull requests through external actions in action flows.",
"articleSection": "Product help",
"datePublished": "2026-06-22T21:06:48.740867+00:00",
"dateModified": "2026-06-22T21:06:51.511850+00:00",
"inLanguage": "en-US",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "https://support.zendesk.com/hc/en-us/articles/10930759959194-Using-GitHub-actions-in-action-flows"
},
"author": {
"@type": "Organization",
"name": "Zendesk",
"url": "https://www.zendesk.com"
},
"publisher": {
"@type": "Organization",
"name": "Zendesk"
},
"isPartOf": {
"@type": "WebSite",
"name": "Zendesk Help",
"url": "https://support.zendesk.com/hc/en-us"
},
"about": {
"@type": "SoftwareApplication",
"name": "Zendesk"
}
}</script><script id="ai-summary-script">
//<![CDATA[
const ai_summary_style = document.createElement('style');
ai_summary_style.innerHTML = `#styled-article-body{padding:0 0 0}#article-body #docs-ai-summary{background-color:#f3f3f3;border:1px solid #d3d3d3;padding:10px 10px 6px;margin-bottom:16px}#article-body #docs-ai-summary #docs-ai-summary-toggle{font-size:.9em;font-weight:700;margin-bottom:4px;cursor:pointer;display:flex;justify-content:space-between;align-items:center}#article-body #docs-ai-summary #docs-ai-summary-toggle #up-triangle{margin-left:auto;padding-right:10px;display:none}#article-body #docs-ai-summary #docs-ai-summary-toggle #down-triangle{margin-left:auto;padding-right:10px}#article-body #docs-ai-summary #docs-ai-summary-content{font-size:.9em;padding-left:25px;padding-right:25px;margin-bottom:12px}`;
document.head.appendChild(ai_summary_style);

const toggleAISummary = () => {
const summary = document.getElementById("docs-ai-summary-content");
const upTriangle = document.getElementById("up-triangle");
const downTriangle = document.getElementById("down-triangle");
if (summary.style.display === "none") {
summary.style.display = "block";
upTriangle.style.display = "none";
downTriangle.style.display = "inline";
} else {
summary.style.display = "none";
upTriangle.style.display = "inline";
downTriangle.style.display = "none";
}
};

document.getElementById("docs-ai-summary-toggle").addEventListener("click", toggleAISummary);
//]]>
</script>
</body>