From b1532c77deb401ede69e66cf9b63bc32922a668e Mon Sep 17 00:00:00 2001 From: vsyrgkanis Date: Sat, 3 Aug 2024 19:42:25 +0300 Subject: [PATCH] Update transform-notebooks.yml --- .github/workflows/transform-notebooks.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/transform-notebooks.yml b/.github/workflows/transform-notebooks.yml index ef1b9d2..26d35f6 100644 --- a/.github/workflows/transform-notebooks.yml +++ b/.github/workflows/transform-notebooks.yml @@ -12,7 +12,7 @@ concurrency: jobs: strip-transform-notebooks: - if: github.event.commits[0].author.name != 'GitHubActions' + if: github.event.commits[0].author.name != 'metricsml-bot' runs-on: ubuntu-latest steps: @@ -100,8 +100,8 @@ jobs: - name: Commit and push stripped .ipynb files if: steps.verify_diff.outputs.changed == 'true' run: | - git config --global user.name 'GitHubActions' - git config --global user.email '<>' + git config --global user.name 'metricsml-bot' + git config --global user.email 'ga.metricsml.notebooks@gmail.com' git pull dirs=(PM1 PM2 PM3 PM4 PM5 CM1 CM2 CM3 AC1 AC2 T) for dir in "${dirs[@]}"; do @@ -114,4 +114,4 @@ jobs: fi done git commit -m 'Strip outputs from .ipynb files [skip ci]' - git push + git push --force-with-lease