Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have a requirement to list repository contents in Qlik Automation based on a user-selected branch in GitHub. Currently, the "List Repository Content" action retrieves files from the default main branch only. I don’t see an option to pass a branch parameter to this action.
How can I retrieve repository contents from a branch other than main? Any suggestions would be greatly appreciated.
That's nice!
I would use the native Qlik Cloud connector for Github for the majority of the calls. For everything that you can't do using it, create a REST connection to the endpoint.
These are particularly useful:
Live and Breathe Qlik & AWS.
Follow me on my LinkedIn | Know IPC Global at ipc-global.com
Hi @radhakrishna2331 ,
This endpoint doesn't accept branch as parameter. I just checked the official Github documentation and it is aligned with that too: https://docs.github.com/en/rest/repos/contents?apiVersion=2022-11-28
Live and Breathe Qlik & AWS.
Follow me on my LinkedIn | Know IPC Global at ipc-global.com
Hi @hugo_andrade ,
Thank you for taking the time to analyze and respond to the post.
My goal is to provide developers with an option to select repository contents (including comments) from GitHub via a dropdown and retrieve them into Qlik Cloud based on their selection—especially in cases where the published version has issues.
Is there a way to achieve this?
Currently, we are considering storing only production versions in the main branch, and saving versions from other workspaces in separate branches.
Any suggestions or best practices for pushing apps to the main space would be greatly appreciated.
That's nice!
I would use the native Qlik Cloud connector for Github for the majority of the calls. For everything that you can't do using it, create a REST connection to the endpoint.
These are particularly useful:
Live and Breathe Qlik & AWS.
Follow me on my LinkedIn | Know IPC Global at ipc-global.com
@hugo_andradeThank you very much. I truly appreciate your valuable insights.
My pleasure! Always great helping the community.
Get started with the existing connector. If you run into issues with REST, create a new post with the problem and tag me. I will be notified and will try to help you.
Good luck!
Live and Breathe Qlik & AWS.
Follow me on my LinkedIn | Know IPC Global at ipc-global.com