[TT-16977] fix: dashboard resolver credential fix (release-5.12)#8055
[TT-16977] fix: dashboard resolver credential fix (release-5.12)#8055buger merged 1 commit intorelease-5.12from
Conversation
Prevents GITHUB_TOKEN AUTHORIZATION header from overriding ORG_GH_TOKEN in cross-repo git ls-remote calls. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
🚨 Jira Linter FailedCommit: The Jira linter failed to validate your PR. Please check the error details below: 🔍 Click to view error detailsNext Steps
This comment will be automatically deleted once the linter passes. |
|
This PR fixes a bug in the CI/CD release workflow that caused it to use an incorrect default Docker image for the Tyk Dashboard. Files Changed Analysis
Architecture & Impact AssessmentWhat this PR accomplishes: Key technical changes introduced: Affected system components: Workflow Logic: Before Change: graph TD
A[Start Job] --> B{actions/checkout};
B --|Writes GITHUB_TOKEN to git config|--> C{Git Config};
C --> D["git ls-remote on tyk-analytics"];
D --|Fails due to wrong token|--> E[Fallback to default image];
After Change: graph TD
A[Start Job] --> B{actions/checkout with persist-credentials: false};
B --|Does NOT write credentials|--> C{Git Config Unchanged};
C --> D["git ls-remote on tyk-analytics"];
D --|Succeeds using ORG_GH_TOKEN|--> E[Finds matching branch image];
Scope Discovery & Context ExpansionThe change is highly localized to the Metadata
Powered by Visor from Probelabs Last updated: 2026-04-16T16:54:51.456Z | Triggered by: pr_opened | Commit: ce5321c 💡 TIP: You can chat with Visor using |
✅ Security Check PassedNo security issues found – changes LGTM. ✅ Security Check PassedNo security issues found – changes LGTM. \n\n✅ Architecture Check PassedNo architecture issues found – changes LGTM. ✅ Performance Check PassedNo performance issues found – changes LGTM. Powered by Visor from Probelabs Last updated: 2026-04-16T16:54:42.204Z | Triggered by: pr_opened | Commit: ce5321c 💡 TIP: You can chat with Visor using |
|
API Changes no api changes detected |
Summary
persist-credentials: falseto theactions/checkoutstep in theresolve-dashboard-imagejobgit ls-remotefor cross-repo branch checking against tyk-analyticsTest plan
resolve-dashboard-imagejob correctly detects matching branches in tyk-analytics when they existGenerated with Claude Code