Provide a clean repository URL variable without embedded tokens for GitHub App authenticated repositories

XMLWordPrintable

    • 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.

              Assignee:
              Mateusz Szmal
              Reporter:
              Jyothi Charupalli
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: