Skip to content

Commit 8f6c58e

Browse files
committed
Added section repos workflow
1 parent 0eef58d commit 8f6c58e

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/section-repos.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Create Section Repos
2+
on:
3+
push:
4+
branches:
5+
- "main"
6+
7+
jobs:
8+
run:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
- uses: actions/setup-node@v4
13+
with:
14+
node-version: 20.x
15+
- run: git config --global user.email "[email protected]"
16+
- run: git config --global user.name "Total TypeScript Bot"
17+
- run: npx @total-typescript/exercise-cli@latest create-section-repos
18+
env:
19+
GITHUB_TOKEN: ${{ secrets.MY_GITHUB_TOKEN }}
20+
GH_TOKEN: ${{ secrets.MY_GITHUB_TOKEN }}

0 commit comments

Comments
 (0)