Skip to content

Commit 10b83cd

Browse files
committed
ci: rename default branch from master to main
1 parent 8745979 commit 10b83cd

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/nix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Nix
22
on:
33
push:
44
branches:
5-
- master
5+
- main
66
pull_request:
77
workflow_dispatch:
88
schedule:

ci-manifests.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ banner() {
2525

2626
cd "$(dirname "$0")"
2727

28-
if [[ $(git rev-parse --abbrev-ref HEAD) != master ]]; then
29-
banner "Skipping push on non-master branch"
28+
if [[ $(git rev-parse --abbrev-ref HEAD) != main ]]; then
29+
banner "Skipping push on non-main branch"
3030
exit
3131
fi
3232

ci.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ nix-build \
3333
--option sandbox true \
3434
--argstr system "$system_name"
3535

36-
if [[ $(git rev-parse --abbrev-ref HEAD) != master ]]; then
37-
banner "Skipping push on non-master branch"
36+
if [[ $(git rev-parse --abbrev-ref HEAD) != main ]]; then
37+
banner "Skipping push on non-main branch"
3838
exit
3939
fi
4040

images/devcontainer/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ let
130130
];
131131
Labels = {
132132
# https://github.com/microscaling/microscaling/blob/55a2d7b91ce7513e07f8b1fd91bbed8df59aed5a/Dockerfile#L22-L33
133-
"org.label-schema.vcs-ref" = "master";
133+
"org.label-schema.vcs-ref" = "main";
134134
"org.label-schema.vcs-url" = "https://github.com/nix-community/docker-nixpkgs";
135135
};
136136
};

lib/buildCLIImage.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ let
2828
];
2929
Labels = {
3030
# https://github.com/microscaling/microscaling/blob/55a2d7b91ce7513e07f8b1fd91bbed8df59aed5a/Dockerfile#L22-L33
31-
"org.label-schema.vcs-ref" = "master";
31+
"org.label-schema.vcs-ref" = "main";
3232
"org.label-schema.vcs-url" = "https://github.com/nix-community/docker-nixpkgs";
3333
};
3434
};

0 commit comments

Comments
 (0)