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.
This commit is contained in:
@@ -1,14 +1,14 @@
|
|||||||
description: "A CLI tool written in Go that queries the PuppetDB API to look up and filter node facts."
|
description: "A CLI tool written in Go that queries the PuppetDB API to look up and filter node facts."
|
||||||
private: false
|
private: false
|
||||||
default_branch: "master"
|
default_branch: "main"
|
||||||
default_delete_branch_after_merge: true
|
default_delete_branch_after_merge: true
|
||||||
default_merge_style: "squash"
|
default_merge_style: "squash"
|
||||||
branch_protection:
|
branch_protection:
|
||||||
- rule_name: "master"
|
- rule_name: "main"
|
||||||
enable_push: false
|
enable_push: false
|
||||||
status_check_contexts:
|
status_check_contexts:
|
||||||
- "ci/woodpecker/pr/lint"
|
- "ci/woodpecker/pr/build"
|
||||||
|
- "ci/woodpecker/pr/test"
|
||||||
- "ci/woodpecker/pr/pre-commit"
|
- "ci/woodpecker/pr/pre-commit"
|
||||||
- "ci/woodpecker/pr/unit-tests"
|
|
||||||
approval_whitelist_users:
|
approval_whitelist_users:
|
||||||
- "unkinben"
|
- "unkinben"
|
||||||
|
|||||||
Reference in New Issue
Block a user