-
Type:
Suggestion
-
Resolution: Fixed
-
Component/s: Repository (Github), Variables
-
None
-
2
-
1
Description:
With the introduction of GitHub App authentication in Bamboo, the built-in repository variables (e.g., ${bamboo_planRepository_1_repositoryUrl}) now automatically include a short-lived Installation Access Token (IAT) in the format: https://x-access-token:TOKEN@github.com/org/repo.git.
While this is secure for standard checkouts, it breaks advanced CI/CD workflows:
- GitHub App tokens expire after 1 hour. In long-running deployments or builds that use Script Tasks to perform Git operations late in the process, the token in the variable is already expired, causing the task to fail.
Suggested Solution:
Provide an additional set of default variables that contain the clean repository URL without any embedded credentials for GitHub App authentication repositories.