From 844fff8db67c43b9ec8c29419cec73d872a433c2 Mon Sep 17 00:00:00 2001 From: Ben Vincent Date: Sat, 4 Jul 2026 22:50:52 +1000 Subject: [PATCH] Switch node-lookup repo to a main default branch node-lookup is being set up with build/test/pre-commit CI and a main-based workflow, so its Gitea repo config needs to match. - Change default_branch from master to main. - Rename the branch protection rule to main and update the required status checks to the new pipeline names (build, test, pre-commit) instead of the old lint/unit-tests contexts. --- config/git.unkin.net/unkin/repository/node-lookup.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config/git.unkin.net/unkin/repository/node-lookup.yaml b/config/git.unkin.net/unkin/repository/node-lookup.yaml index 6e82d98..e790887 100644 --- a/config/git.unkin.net/unkin/repository/node-lookup.yaml +++ b/config/git.unkin.net/unkin/repository/node-lookup.yaml @@ -1,14 +1,14 @@ description: "A CLI tool written in Go that queries the PuppetDB API to look up and filter node facts." private: false -default_branch: "master" +default_branch: "main" default_delete_branch_after_merge: true default_merge_style: "squash" branch_protection: - - rule_name: "master" + - rule_name: "main" enable_push: false status_check_contexts: - - "ci/woodpecker/pr/lint" + - "ci/woodpecker/pr/build" + - "ci/woodpecker/pr/test" - "ci/woodpecker/pr/pre-commit" - - "ci/woodpecker/pr/unit-tests" approval_whitelist_users: - "unkinben"