Rename "master" to "main".

This commit is contained in:
Samuel Guerra 2024-04-20 18:23:27 -03:00
parent 5edbdd354a
commit f9af9d9dea
3 changed files with 5 additions and 5 deletions

View File

@ -1,9 +1,9 @@
name: CI - Security Audit
on:
pull_request:
branches: [ "master" ]
branches: [ "main" ]
push:
branches: [ "master" ]
branches: [ "main" ]
workflow_dispatch:
jobs:
security_audit:

View File

@ -2,9 +2,9 @@ name: CI
on:
pull_request:
branches: [ "master" ]
branches: [ "main" ]
push:
branches: [ "master" ]
branches: [ "main" ]
workflow_dispatch:
concurrency:

View File

@ -946,7 +946,7 @@ fn publish(mut args: Vec<&str>) {
} else if take_flag(&mut args, &["--diff"]) {
let published_tag = format!("v{}", util::crates_io_latest("zng"));
let members = util::publish_members();
let git_diff = util::get_git_diff(&published_tag, "master");
let git_diff = util::get_git_diff(&published_tag, "main");
let mut changed = std::collections::HashMap::new();
let glob = take_option(&mut args, &["-g"], "<glob>").map(|g| glob::Pattern::new(g[0]).unwrap());