mirror of
https://gitea.com/gitea/runner.git
synced 2026-07-09 00:08:39 +08:00
97c083e902
* fix: align github.ref to GitHub Action The `github.ref` value should be `refs/heads/branch` in most cases. There are a few exceptions handled by the code. This change prefixes the default case with `refs/heads` and adds tests for this and the excpetional cases. * fix: correct existing assertions