Skip to content

Commit bf54cf6

Browse files
committed
ci: refactor to git add --all and set default branch name
1 parent 8f0d342 commit bf54cf6

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎.github/workflows/extract-templates.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,10 @@ jobs:
3434
3535
git config --global user.name 'NativeScript-Bot'
3636
git config --global user.email 'oss@nativescript.org'
37+
git config --global init.defaultBranch ${{ matrix.starter }}
3738
3839
git init
39-
git checkout -b ${{ matrix.starter }}
4040
git remote add origin ${{ github.repositoryUrl }}
41+
git add --all
4142
git commit -am "chore(update): $(date)"
4243
git push origin ${{ matrix.starter }} --allow-unrelated-histories --dry-run

0 commit comments

Comments
 (0)