Skip to content

Commit 14913cf

Browse files
authored
add git town config (netbirdio#3555)
1 parent 03f600b commit 14913cf

2 files changed

Lines changed: 48 additions & 0 deletions

File tree

.git-branches.toml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# More info around this file at https://www.git-town.com/configuration-file
2+
3+
[branches]
4+
main = "main"
5+
perennials = []
6+
perennial-regex = ""
7+
8+
[create]
9+
new-branch-type = "feature"
10+
push-new-branches = false
11+
12+
[hosting]
13+
dev-remote = "origin"
14+
# platform = ""
15+
# origin-hostname = ""
16+
17+
[ship]
18+
delete-tracking-branch = false
19+
strategy = "squash-merge"
20+
21+
[sync]
22+
feature-strategy = "merge"
23+
perennial-strategy = "rebase"
24+
prototype-strategy = "merge"
25+
push-hook = true
26+
tags = true
27+
upstream = false

.github/workflows/git-town.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Git Town
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- '**'
7+
8+
jobs:
9+
git-town:
10+
name: Display the branch stack
11+
runs-on: ubuntu-latest
12+
13+
permissions:
14+
contents: read
15+
pull-requests: write
16+
17+
steps:
18+
- uses: actions/checkout@v4
19+
- uses: git-town/action@v1
20+
with:
21+
skip-single-stacks: true

0 commit comments

Comments
 (0)