From da70bf5eba41c593756755cb30f7eea9791824fb Mon Sep 17 00:00:00 2001 From: sudoforge <no-reply@sudoforge.com> Date: Sat, 7 Jun 2025 10:35:37 -0700 Subject: [PATCH] refactor: replace references of "master" with "trunk" (#1471) Change-Id: Iddffb45d6ab73096e2c27e8e5029eabe47e092d8 --- .github/workflows/presubmit.yml | 2 +- .github/workflows/scan.yml | 6 ++++-- CONTRIBUTING.md | 4 ++-- README.md | 2 +- bridge/jira/config.go | 2 +- entity/dag/example_test.go | 2 +- 6 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/presubmit.yml b/.github/workflows/presubmit.yml index a6a17fa8..35bf4dc7 100644 --- a/.github/workflows/presubmit.yml +++ b/.github/workflows/presubmit.yml @@ -14,7 +14,7 @@ on: - checks_requested pull_request: branches: - - master + - trunk concurrency: group: ${{ github.ref }} diff --git a/.github/workflows/scan.yml b/.github/workflows/scan.yml index 5279ae35..98d44d48 100644 --- a/.github/workflows/scan.yml +++ b/.github/workflows/scan.yml @@ -3,9 +3,11 @@ name: scan on: push: - branches: [master] + branches: + - trunk pull_request: - branches: [master] + branches: + - trunk schedule: - cron: '0 12 * * 6' diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5dd21f19..2665fa7e 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -348,8 +348,8 @@ ______________________________________________________________________ [doc/design/model]: ./doc/design/data-model.md [envrc]: ./.envrc [example-entity]: ./entity/dag/example_test.go -[install/direnv]: https://github.com/direnv/direnv/blob/master/docs/installation.md -[install/direnv/shell]: https://github.com/direnv/direnv/blob/master/docs/hook.md +[install/direnv]: https://github.com/direnv/direnv/blob/trunk/docs/installation.md +[install/direnv/shell]: https://github.com/direnv/direnv/blob/trunk/docs/hook.md [install/nix]: https://nix.dev/install-nix [issue/1364]: https://github.com/git-bug/git-bug/issues/1364 [treefmt]: ./treefmt.nix diff --git a/README.md b/README.md index 4c01c488..c8a6b2ab 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ <div align="center"> -<img width="64px" src="https://cdn.rawgit.com/git-bug/git-bug/master/misc/logo/logo-alpha-flat-bg.svg"> +<img width="64px" src="https://cdn.rawgit.com/git-bug/git-bug/trunk/misc/logo/logo-alpha-flat-bg.svg"> # git-bug: a decentralized issue tracker diff --git a/bridge/jira/config.go b/bridge/jira/config.go index 22ce1dca..ea903525 100644 --- a/bridge/jira/config.go +++ b/bridge/jira/config.go @@ -15,7 +15,7 @@ const moreConfigText = ` NOTE: There are a few optional configuration values that you can additionally set in your git configuration to influence the behavior of the bridge. Please see the notes at: -https://github.com/git-bug/git-bug/blob/master/doc/jira_bridge.md +https://github.com/git-bug/git-bug/blob/trunk/doc/jira_bridge.md ` const credTypeText = ` diff --git a/entity/dag/example_test.go b/entity/dag/example_test.go index 3ffdb4fc..cb2a5383 100644 --- a/entity/dag/example_test.go +++ b/entity/dag/example_test.go @@ -13,7 +13,7 @@ import ( ) // Note: you can find explanations about the underlying data model here: -// https://github.com/git-bug/git-bug/blob/master/doc/design/data-model.md +// https://github.com/git-bug/git-bug/blob/trunk/doc/design/data-model.md // This file explains how to define a replicated data structure, stored in and using git as a medium for // synchronisation. To do this, we'll use the entity/dag package, which will do all the complex handling. -- GitLab