mirror of
https://github.com/netbirdio/netbird.git
synced 2026-03-31 06:34:14 -04:00
add git town config (#3555)
This commit is contained in:
27
.git-branches.toml
Normal file
27
.git-branches.toml
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
# More info around this file at https://www.git-town.com/configuration-file
|
||||||
|
|
||||||
|
[branches]
|
||||||
|
main = "main"
|
||||||
|
perennials = []
|
||||||
|
perennial-regex = ""
|
||||||
|
|
||||||
|
[create]
|
||||||
|
new-branch-type = "feature"
|
||||||
|
push-new-branches = false
|
||||||
|
|
||||||
|
[hosting]
|
||||||
|
dev-remote = "origin"
|
||||||
|
# platform = ""
|
||||||
|
# origin-hostname = ""
|
||||||
|
|
||||||
|
[ship]
|
||||||
|
delete-tracking-branch = false
|
||||||
|
strategy = "squash-merge"
|
||||||
|
|
||||||
|
[sync]
|
||||||
|
feature-strategy = "merge"
|
||||||
|
perennial-strategy = "rebase"
|
||||||
|
prototype-strategy = "merge"
|
||||||
|
push-hook = true
|
||||||
|
tags = true
|
||||||
|
upstream = false
|
||||||
21
.github/workflows/git-town.yml
vendored
Normal file
21
.github/workflows/git-town.yml
vendored
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
name: Git Town
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- '**'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
git-town:
|
||||||
|
name: Display the branch stack
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
pull-requests: write
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: git-town/action@v1
|
||||||
|
with:
|
||||||
|
skip-single-stacks: true
|
||||||
Reference in New Issue
Block a user