File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Nix
22on :
33 push :
44 branches :
5- - master
5+ - main
66 pull_request :
77 workflow_dispatch :
88 schedule :
Original file line number Diff line number Diff line change @@ -25,8 +25,8 @@ banner() {
2525
2626cd " $( 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
3131fi
3232
Original file line number Diff line number Diff 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
3939fi
4040
Original file line number Diff line number Diff line change 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 } ;
Original file line number Diff line number Diff line change 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 } ;
You can’t perform that action at this time.
0 commit comments