{"version":"2.1.330","anchor":"runner-checks-remote-ref-existence-via-ls-remote","canonical_anchor":"runner-checks-remote-ref-existence-via-ls-remote","heading":"Self-hosted runners check that a remote branch or tag exists first","tier":"notice","area":"Runners","scope":"org","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330\/e\/runner-checks-remote-ref-existence-via-ls-remote","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330","markdown":"### Self-hosted runners check that a remote branch or tag exists first\n\nA self-hosted runner now checks a remote repository for the requested ref and fails with \"couldn't find remote ref\" if it is missing\n\n**What**\n\nWhen a self-hosted runner works with a repository that is not a local folder, it now first asks the remote repository whether the requested ref exists. A ref is a branch, tag or commit name. If it is missing, the runner stops with the error \"couldn't find remote ref\".\n\n**Why**\n\nA wrong branch or tag name should now fail early with a clear message.\n\n- Area: Runners\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: org\n- Heads-up: no"}