Severity
1 report
Version
2026.3.14709
Latest Version
None
What happened?
When configuring a Git Repository Trigger that references a step using the GitHub App for authentication with a private repository, the trigger fails to run with an error similar to the following in the Process Git Triggers task log:
20:23:49 Error | Error resolving Git ref 'main' in repository 'https://github.com/org/repo_name.git': Repository not found.
Reproduction
- Set up a test project
- Add a step that uses Git as a script source, where the repo is private, and a GitHub App connection is used for authentication
- Add a Git Repository trigger that references the step above.
- Make a commit to the repo, and note that the trigger does not run successfully during the next run of
Process Git Triggers (can somewhat be seen via the trigger page, or by checking this task log directly for more direct info).
Error and Stacktrace
20:23:49 Error | Error resolving Git ref 'main' in repository 'https://github.com/org/repo_name.git': Repository not found.
More Information
No response
Workaround
Use Git Credentials for authentication on the step (rather than a GitHub App connection)
Severity
1 report
Version
2026.3.14709
Latest Version
None
What happened?
When configuring a Git Repository Trigger that references a step using the GitHub App for authentication with a private repository, the trigger fails to run with an error similar to the following in the
Process Git Triggerstask log:Reproduction
Process Git Triggers(can somewhat be seen via the trigger page, or by checking this task log directly for more direct info).Error and Stacktrace
More Information
No response
Workaround
Use Git Credentials for authentication on the step (rather than a GitHub App connection)