From 788e676d93a48351060a0d8f006059e00039267c Mon Sep 17 00:00:00 2001 From: Kalyan Dutia Date: Thu, 24 Oct 2024 16:50:34 +0100 Subject: [PATCH] try to fix CI --- .github/workflows/update-requirements.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/update-requirements.yml b/.github/workflows/update-requirements.yml index b1a3bff..a53a445 100644 --- a/.github/workflows/update-requirements.yml +++ b/.github/workflows/update-requirements.yml @@ -25,11 +25,10 @@ jobs: run: | poetry export -f requirements.txt --output requirements.txt --without-hashes - - name: Create Pull Request - uses: peter-evans/create-pull-request@v5 - with: - commit-message: Update requirements.txt - title: Update requirements.txt from Poetry dependencies - body: Automated update of requirements.txt from Poetry configuration - branch: update-requirements - delete-branch: true + - name: Commit changes + run: | + git config --global user.name 'GitHub Actions' + git config --global user.email 'actions@github.com' + git add requirements.txt + git commit -m "Update requirements.txt" || echo "No changes to commit" + git push \ No newline at end of file