Skip to content

Commit fe881ae

Browse files
committed
ci: Update the default branch name
1 parent acb3a00 commit fe881ae

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.github/workflows/main.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: CI
22
on:
3-
push: { branches: [master] }
3+
push: { branches: [main] }
44
pull_request:
55

66
concurrency:

PUBLISHING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ It's not great, but it works for now. PRs to improve this process would be
55
greatly appreciated!
66

77
1. Make sure you've got a clean working tree and it's updated with the latest
8-
changes on `master`
8+
changes on `main`
99
2. Edit `Cargo.toml` to bump the version number
1010
3. Commit this change
1111
4. Run `git tag` to create a tag for this version

ci/bench-icount.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ iai_home="iai-home"
1515
# Use the arch as a tag to disambiguate artifacts
1616
tag="$(echo "$target" | cut -d'-' -f1)"
1717

18-
# Download the baseline from master
18+
# Download the baseline from main
1919
./ci/ci-util.py locate-baseline --download --extract --tag "$tag"
2020

2121
# Run benchmarks once

ci/ci-util.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949

5050
REPO_ROOT = Path(__file__).parent.parent
5151
GIT = ["git", "-C", REPO_ROOT]
52-
DEFAULT_BRANCH = "master"
52+
DEFAULT_BRANCH = "main"
5353
WORKFLOW_NAME = "CI" # Workflow that generates the benchmark artifacts
5454
ARTIFACT_PREFIX = "baseline-icount*"
5555

@@ -186,7 +186,7 @@ def __init__(self) -> None:
186186

187187
def _init_change_list(self):
188188
"""Create a list of files that have been changed. This uses GITHUB_REF if
189-
available, otherwise a diff between `HEAD` and `master`.
189+
available, otherwise a diff between `HEAD` and `main`.
190190
"""
191191

192192
# For pull requests, GitHub creates a ref `refs/pull/1234/merge` (1234 being

0 commit comments

Comments
 (0)