GitHub Integration Without PAT or SSH Token

I want to integrate n8n with GitHub for workflow versioning/automation, but I’d prefer not to use a Personal Access Token (PAT) or SSH token for authentication.
Does n8n support connecting to GitHub using a GitHub App (with App ID, Client ID, Client Secret, and private key), so that I can avoid using PAT or SSH credentials?
If so, is there any documentation or example for setting up GitHub App authentication in n8n, as the docs only mention about PAT/SSH?

Hi @akshika.sharma currently n8n does not support auth to github via github app, only PAT for triggers and nodes, and there is no official documentation for it till now, although Access Token would get most of the actions in github work seamless.

Yeah n8n doesn’t support GitHub App auth natively, just PAT and OAuth2. If you really want to avoid PATs though, OAuth2 is right there in the GitHub credential options and works fine, you just register an OAuth App in GitHub developer settings and let n8n handle the browser auth flow. For actual workflow versioning specifically, the source control feature only does SSH key or PAT unfortunately so there’s no getting around that one.