<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article Github - How to get started with Github in Automations in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Github-How-to-get-started-with-Github-in-Automations/ta-p/1840171</link>
    <description>&lt;P&gt;This article gives an overview of the available blocks in the Github connector in Qlik Application Automation. It will also go over some basic examples of retrieving file/blob contents from your repos as well as other functionalities within a GitHub account.&lt;/P&gt;
&lt;P&gt;As with most connectors provided for automations the authentication for this connector is based on the oAuth2 Protocol, so when connecting to it you provide the user name and password of the account directly to the Github platform to request access so it is done in the most secure manner there is.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Marius_Nuca_0-1632923756663.png" style="width: 387px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/62982iF83087D4BACB05E0/image-dimensions/387x567?v=v2" width="387" height="567" role="button" title="Marius_Nuca_0-1632923756663.png" alt="Marius_Nuca_0-1632923756663.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;Let's now go over a few basic examples of how to use the Github connector:&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;How to list owned repositories and check their contents from your Github account:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Create an automation;&lt;/LI&gt;
&lt;LI&gt;From the left menu, select the Github connector;&lt;/LI&gt;
&lt;LI&gt;drag and drop the "List my repositories" block&lt;/LI&gt;
&lt;LI&gt;drag and drop the "List repositories contents" block inside the loop created by the first block:&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Marius_Nuca_0-1632924247867.png" style="width: 467px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/62983i80780C8EC41610DB/image-dimensions/467x494?v=v2" width="467" height="494" role="button" title="Marius_Nuca_0-1632924247867.png" alt="Marius_Nuca_0-1632924247867.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Now the "list my repositories" block offers a couple of filtering options depending what result you want (all repos or just the private or public ones and if you want the result to come in sorted by some rule) but they are mostly optional. Not filling them in will return by default all repositories.&lt;/P&gt;
&lt;P&gt;As for the "List repository contents" block you will need to fill in the username you use for your github account  as well as the repository name which can be filled in with the results gotten from the first block. You can leave the path parameter empty to get the contents from the root folder or you can specify a path and the contents of that path will be returned.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Marius_Nuca_1-1632924562097.png" style="width: 422px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/62984iC4ADE9F374536180/image-dimensions/422x590?v=v2" width="422" height="590" role="button" title="Marius_Nuca_1-1632924562097.png" alt="Marius_Nuca_1-1632924562097.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;As stated, if you expect to retrieve only one record, the use of "get repository content" block is more better suited. Also, you might want to switch this "List repository contents" block On Error status to either warning or ignore since Github API platform returns a 404 error if one of the queried repositories is empty.&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;Now if you are planning to use the "Get repository content" block another warning should be mentioned and that this block only works for files or blobs up to a maximum of 1 MB in size, as per Githubs platform limitations. The response of this block should look like:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Marius_Nuca_2-1632924945179.png" style="width: 743px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/62985i221E550A88E2FFCB/image-dimensions/743x299?v=v2" width="743" height="299" role="button" title="Marius_Nuca_2-1632924945179.png" alt="Marius_Nuca_2-1632924945179.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;As you can see we have a couple of information stubs of that file, but most importantly from here is the SHA property, which is needed if you are planning to later on use the "Create or update file contents" block, required input parameter for the update of a file/blob.&lt;/P&gt;
&lt;P&gt;Now if you're planning on updating files that are bigger than 1MB and you require the SHA of that file, we suggest using the list repository contents block and search for the required file and SHA in that result.&lt;/P&gt;
&lt;P&gt;As for other functionalities of the Github connector we support also getting and listing commits or issues present in a repository, listing of users and many other requests but, if you are in need of a request that isn't present, we also offer the functionality to create your own requests to the Github API by making use of the RAW API blocks. These API blocks and their uses are explained in a separate article.&lt;/P&gt;
&lt;P&gt;You can find attached to this article a simple JSON example which you can upload to your workspace, if you want to see a quick example of how to use version control to back up your QCS apps I suggest visiting the related article.&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P style="font-style: italic;"&gt;The information in this article is provided as-is and to be used at own discretion. Depending on tool(s) used, customization(s), and/or other factors ongoing support on the solution below may not be provided by Qlik Support.&lt;/P&gt;
&lt;H3&gt; &lt;/H3&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Related Content&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;A href="https://community.qlik.com/t5/Knowledge/How-to-Qlik-Application-Automation-to-backing-up-and-versioning/ta-p/1835917" target="_blank" rel="noopener"&gt;How to: Qlik Application Automation for backing up and versioning Qlik Cloud apps on Github&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 02 Dec 2022 13:31:01 GMT</pubDate>
    <dc:creator>Marius_Nuca</dc:creator>
    <dc:date>2022-12-02T13:31:01Z</dc:date>
    <item>
      <title>Github - How to get started with Github in Automations</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Github-How-to-get-started-with-Github-in-Automations/ta-p/1840171</link>
      <description>&lt;P&gt;This article gives an overview of the available blocks in the Github connector in Qlik Application Automation. It will also go over some basic examples of retrieving file/blob contents from your repos as well as other functionalities within a GitHub account.&lt;/P&gt;
&lt;P&gt;As with most connectors provided for automations the authentication for this connector is based on the oAuth2 Protocol, so when connecting to it you provide the user name and password of the account directly to the Github platform to request access so it is done in the most secure manner there is.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Marius_Nuca_0-1632923756663.png" style="width: 387px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/62982iF83087D4BACB05E0/image-dimensions/387x567?v=v2" width="387" height="567" role="button" title="Marius_Nuca_0-1632923756663.png" alt="Marius_Nuca_0-1632923756663.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;Let's now go over a few basic examples of how to use the Github connector:&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;How to list owned repositories and check their contents from your Github account:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Create an automation;&lt;/LI&gt;
&lt;LI&gt;From the left menu, select the Github connector;&lt;/LI&gt;
&lt;LI&gt;drag and drop the "List my repositories" block&lt;/LI&gt;
&lt;LI&gt;drag and drop the "List repositories contents" block inside the loop created by the first block:&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Marius_Nuca_0-1632924247867.png" style="width: 467px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/62983i80780C8EC41610DB/image-dimensions/467x494?v=v2" width="467" height="494" role="button" title="Marius_Nuca_0-1632924247867.png" alt="Marius_Nuca_0-1632924247867.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Now the "list my repositories" block offers a couple of filtering options depending what result you want (all repos or just the private or public ones and if you want the result to come in sorted by some rule) but they are mostly optional. Not filling them in will return by default all repositories.&lt;/P&gt;
&lt;P&gt;As for the "List repository contents" block you will need to fill in the username you use for your github account  as well as the repository name which can be filled in with the results gotten from the first block. You can leave the path parameter empty to get the contents from the root folder or you can specify a path and the contents of that path will be returned.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Marius_Nuca_1-1632924562097.png" style="width: 422px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/62984iC4ADE9F374536180/image-dimensions/422x590?v=v2" width="422" height="590" role="button" title="Marius_Nuca_1-1632924562097.png" alt="Marius_Nuca_1-1632924562097.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;As stated, if you expect to retrieve only one record, the use of "get repository content" block is more better suited. Also, you might want to switch this "List repository contents" block On Error status to either warning or ignore since Github API platform returns a 404 error if one of the queried repositories is empty.&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;Now if you are planning to use the "Get repository content" block another warning should be mentioned and that this block only works for files or blobs up to a maximum of 1 MB in size, as per Githubs platform limitations. The response of this block should look like:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Marius_Nuca_2-1632924945179.png" style="width: 743px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/62985i221E550A88E2FFCB/image-dimensions/743x299?v=v2" width="743" height="299" role="button" title="Marius_Nuca_2-1632924945179.png" alt="Marius_Nuca_2-1632924945179.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;As you can see we have a couple of information stubs of that file, but most importantly from here is the SHA property, which is needed if you are planning to later on use the "Create or update file contents" block, required input parameter for the update of a file/blob.&lt;/P&gt;
&lt;P&gt;Now if you're planning on updating files that are bigger than 1MB and you require the SHA of that file, we suggest using the list repository contents block and search for the required file and SHA in that result.&lt;/P&gt;
&lt;P&gt;As for other functionalities of the Github connector we support also getting and listing commits or issues present in a repository, listing of users and many other requests but, if you are in need of a request that isn't present, we also offer the functionality to create your own requests to the Github API by making use of the RAW API blocks. These API blocks and their uses are explained in a separate article.&lt;/P&gt;
&lt;P&gt;You can find attached to this article a simple JSON example which you can upload to your workspace, if you want to see a quick example of how to use version control to back up your QCS apps I suggest visiting the related article.&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P style="font-style: italic;"&gt;The information in this article is provided as-is and to be used at own discretion. Depending on tool(s) used, customization(s), and/or other factors ongoing support on the solution below may not be provided by Qlik Support.&lt;/P&gt;
&lt;H3&gt; &lt;/H3&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Related Content&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;A href="https://community.qlik.com/t5/Knowledge/How-to-Qlik-Application-Automation-to-backing-up-and-versioning/ta-p/1835917" target="_blank" rel="noopener"&gt;How to: Qlik Application Automation for backing up and versioning Qlik Cloud apps on Github&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2022 13:31:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Github-How-to-get-started-with-Github-in-Automations/ta-p/1840171</guid>
      <dc:creator>Marius_Nuca</dc:creator>
      <dc:date>2022-12-02T13:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: Github - How to get started with Github in Automations</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Github-How-to-get-started-with-Github-in-Automations/tac-p/2478044#M14474</link>
      <description>&lt;P&gt;Thanks for this article !&amp;nbsp;&lt;BR /&gt;Is it possible to connect to Github Enterprise using this connector ?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2024 14:54:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Github-How-to-get-started-with-Github-in-Automations/tac-p/2478044#M14474</guid>
      <dc:creator>dominiqueGn</dc:creator>
      <dc:date>2024-08-26T14:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: Github - How to get started with Github in Automations</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Github-How-to-get-started-with-Github-in-Automations/tac-p/2490146#M14865</link>
      <description>&lt;P&gt;is&amp;nbsp;"List My Repositories" only repositories the developer owns, or ones that they have access to? our testing so far seems to show it is just ones the developer owns...&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2024 13:21:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Github-How-to-get-started-with-Github-in-Automations/tac-p/2490146#M14865</guid>
      <dc:creator>Ken_T</dc:creator>
      <dc:date>2024-10-31T13:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: Github - How to get started with Github in Automations</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Github-How-to-get-started-with-Github-in-Automations/tac-p/2490156#M14866</link>
      <description>&lt;P&gt;Hi Ken,&lt;/P&gt;
&lt;P&gt;"List My Repositories" should return all repositories that the logged user has access to:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="{7243F1DC-C8FA-4A07-8726-93866AE16DA0}.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/173639i4AA7B41A95657CF5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="{7243F1DC-C8FA-4A07-8726-93866AE16DA0&amp;amp;#125;.png" alt="{7243F1DC-C8FA-4A07-8726-93866AE16DA0&amp;amp;#125;.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2024 13:46:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Github-How-to-get-started-with-Github-in-Automations/tac-p/2490156#M14866</guid>
      <dc:creator>Marius_Nuca</dc:creator>
      <dc:date>2024-10-31T13:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: Github - How to get started with Github in Automations</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Github-How-to-get-started-with-Github-in-Automations/tac-p/2490207#M14869</link>
      <description>&lt;P&gt;thanks - I think we were hitting the issue described here:&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Application-Automation/How-to-change-github-credentials-in-automation/td-p/2443872" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Application-Automation/How-to-change-github-credentials-in-automation/td-p/2443872&lt;/A&gt;&lt;BR /&gt;and&amp;nbsp;&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/Official-Support-Articles/Why-does-my-new-new-connection-automatically-connects-without/ta-p/1794089" target="_blank"&gt;https://community.qlik.com/t5/Official-Support-Articles/Why-does-my-new-new-connection-automatically-connects-without/ta-p/1794089&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2024 15:44:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Github-How-to-get-started-with-Github-in-Automations/tac-p/2490207#M14869</guid>
      <dc:creator>Ken_T</dc:creator>
      <dc:date>2024-10-31T15:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: Github - How to get started with Github in Automations</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Github-How-to-get-started-with-Github-in-Automations/tac-p/2490363#M14875</link>
      <description>&lt;P&gt;so far,&amp;nbsp; after a lot of trial and error testing, we are not able to see all the repositories and there does not appear to be any docs on how to get these blocks to work to show all the repositories that the user used in the connection properties has access to.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2024 15:38:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Github-How-to-get-started-with-Github-in-Automations/tac-p/2490363#M14875</guid>
      <dc:creator>Ken_T</dc:creator>
      <dc:date>2024-11-01T15:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: Github - How to get started with Github in Automations</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Github-How-to-get-started-with-Github-in-Automations/tac-p/2490615#M14887</link>
      <description>&lt;P&gt;confirmed with Qlik Support this week:&lt;BR /&gt;github connections are not yet supported in automations in QCG Qlik Cloud Government. They are supported in the regular qlik cloud saas product. maybe sometime in the future, we dont know if there is an estimated date for this yet in QCG.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fhelp.qlik.com%2Fen-US%2Fcloud-services%2FSubsystems%2FHub%2FContent%2FSense_QlikAutomation%2Fconnector-blocks%2Fconnectors-list.htm&amp;amp;data=05%7C02%7Cthomas.kenneth%40epa.gov%7C425a8416d060445d615108dcfcd4e8cd%7C88b378b367484867acf976aacbeca6a7%7C0%7C0%7C638663238602368898%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&amp;amp;sdata=ZPHmRqRCUcQkvoUKqrtky5juuzh2nlS7%2FSrP4lBsg5k%3D&amp;amp;reserved=0" target="_blank"&gt;https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_QlikAutomation/connector-blocks/connectors-list.htm&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;could this article be updated to point out this is not available in QCG yet?&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2024 15:36:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Github-How-to-get-started-with-Github-in-Automations/tac-p/2490615#M14887</guid>
      <dc:creator>Ken_T</dc:creator>
      <dc:date>2024-11-04T15:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: Github - How to get started with Github in Automations</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Github-How-to-get-started-with-Github-in-Automations/tac-p/2544218#M16916</link>
      <description>&lt;P&gt;Does this connector support Github enterprise? Or just github.com&lt;/P&gt;&lt;P&gt;Thank you&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Mar 2026 19:55:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Github-How-to-get-started-with-Github-in-Automations/tac-p/2544218#M16916</guid>
      <dc:creator>nlorenzo</dc:creator>
      <dc:date>2026-03-04T19:55:04Z</dc:date>
    </item>
  </channel>
</rss>

