go-ethereum/.github/workflows
Arran Schlosberg 7b8d20f3d5
fix(ci): only create local main branch if non-existent (#164)
## Why this should be merged

The CI job in #145 requires a local (to the runner) `main` branch and
since `actions/checkout` doesn't check it out, the workflow creates the
branch off `origin/main`. However, after merge of a PR to `main`, the
workflow is run on `main` itself and that step [fails because the branch
already
exists](https://github.com/ava-labs/libevm/actions/runs/13908218530/job/38916101218).

## How this works

Only call `git branch main origin/main` if `main` doesn't exist.

## How this was tested

We'll see once it's merged 🤷
2025-03-17 13:00:39 -07:00
..
go.yml fix(ci): only create local main branch if non-existent (#164) 2025-03-17 13:00:39 -07:00
labels.yml chore(ci): restrict each job concurrency except for main branch (#117) 2025-02-06 11:03:26 +00:00
libevm-delta.yml refactor(params): make LibEVMVersion a constant (#162) 2025-03-17 19:29:16 +00:00
lint.yml refactor(params): make LibEVMVersion a constant (#162) 2025-03-17 19:29:16 +00:00
rename-module.yml chore: module-renaming workflow inverts between libevm and geth (#152) 2025-03-07 13:23:11 +00:00