Skip to content

Commit 3a46af3

Browse files
committed
chore: move git configuration to act in the template repo
1 parent 2a5f13c commit 3a46af3

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/update-demo.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ jobs:
2323
repository: ${{ github.repository }}
2424
path: "${{ github.workspace }}/cookiecutter-robust-python"
2525

26+
- name: Configure Git
27+
working-directory: "${{ github.workspace }}/cookiecutter-robust-python"
28+
run: |
29+
git config user.name "github-actions[bot]"
30+
git config user.email "github-actions[bot]@users.noreply.github.com"
31+
2632
- name: Checkout Demo
2733
uses: actions/checkout@v4
2834
with:
@@ -39,11 +45,6 @@ jobs:
3945
with:
4046
python-version-file: "${{ github.workspace }}/cookiecutter-robust-python/.github/workflows/.python-version"
4147

42-
- name: Configure Git
43-
run: |
44-
git config user.name "github-actions[bot]"
45-
git config user.email "github-actions[bot]@users.noreply.github.com"
46-
4748
- name: Update Demo
4849
working-directory: "${{ github.workspace }}/cookiecutter-robust-python"
4950
run: "uvx nox -s 'update-demo(${{ inputs.demo_name }})' -- --branch-override ${{ github.head_ref }}"

0 commit comments

Comments
 (0)