Skip to content

Commit 0b53ee5

Browse files
committed
ci: assemble MyBaseSystem source safely
1 parent cd8bdc5 commit 0b53ee5

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

‎.github/workflows/bootstrap.yml‎

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Bootstrap MyBaseSystem
2+
on:
3+
workflow_dispatch:
4+
push:
5+
paths:
6+
- '.github/workflows/bootstrap.yml'
7+
permissions:
8+
contents: write
9+
jobs:
10+
bootstrap:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
with:
15+
fetch-depth: 0
16+
- name: Assemble and push MyBaseSystem
17+
shell: bash
18+
run: |
19+
cp mybasesystem.patch /tmp/mybasesystem.patch
20+
git config user.name "github-actions[bot]"
21+
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
22+
git remote add template https://github.com/tabtab-dev/ui.git
23+
git fetch --depth=1 template main
24+
git read-tree --reset -u template/main
25+
git apply --binary /tmp/mybasesystem.patch
26+
git add -A
27+
git commit -m "feat: initialize MyBaseSystem with .NET 10 DDD clean architecture"
28+
git push origin main

0 commit comments

Comments
 (0)