From 9024ec58d479b51e7fe9a440274fde403e777b66 Mon Sep 17 00:00:00 2001 From: Thomas Schmelzer Date: Fri, 17 Jan 2025 14:09:47 +0400 Subject: [PATCH] testing Marimo flow --- .github/workflows/act.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/act.yml b/.github/workflows/act.yml index a31e9fd..cfc55a1 100644 --- a/.github/workflows/act.yml +++ b/.github/workflows/act.yml @@ -24,23 +24,24 @@ jobs: with: python-version: '3.12' - # Set Git user name and email for CI/CD - - name: Set Git user for CI/CD - run: | - git config --global user.email "ci@example.com" - git config --global user.name "CI User" - - name: Install and run copier working-directory: . shell: bash run: | python -m pip install --upgrade pip pip install --no-cache-dir -r requirements.txt - mkdir -p template + # mkdir -p template copier copy . template --data-file .github/data.yaml - cd template + + - name: Prepare the repo + working-directory: template + shell: bash + run: | # otherwise the pre-commit hooks won't "see" files # also act needs to have the commit in place + git config --global user.email "ci@example.com" + git config --global user.name "CI User" + git init -b main git add . git commit -m "Initial commit"