Fix token-list lint failures for release-branch MRs

The token-list linter always compares against origin/develop. MRs targeting release branches therefore fail when their token lists lack develop-only tokens, even if the MR leaves those lists unchanged.

Compare against the MR’s actual target branch, fetching it to handle missing or stale references. Retain the develop fallback outside MR pipelines and fail if the target fetch fails. Existing removal checks and the explicit warning override remain intact.

Use isolated temporary files and add regression tests to make lint-ci.

Merge request reports

Loading
Loading