yavsc/.forgejo
Paul Schneider 7370f48aac
Some checks failed
Dotnet build and test / log-the-inputs (pull_request) Successful in 9s
Dotnet build and test / build (pull_request) Failing after 12s
ci: clone via GITHUB_REF instead of GITHUB_REF_NAME
In pull_request context, GITHUB_REF_NAME is the PR number ('17'),
not the source branch. Cloning --branch 17 fails with
'Could not find remote branch 17 to clone'.

Use GITHUB_REF (refs/pull/N/head in PR context, refs/heads/<branch>
in push context) and fetch + checkout FETCH_HEAD. workflow_dispatch
falls back to the default branch.
2026-08-16 13:22:56 +01:00
..
workflows ci: clone via GITHUB_REF instead of GITHUB_REF_NAME 2026-08-16 13:22:56 +01:00