From 035f72c264ee959d04e47ba4a956e9c888df27de Mon Sep 17 00:00:00 2001 From: philipp Date: Thu, 17 Oct 2024 18:51:30 +0200 Subject: [PATCH] try regular ci --- .gitea/workflows/update.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.gitea/workflows/update.yml b/.gitea/workflows/update.yml index 00800b3..47d6e3f 100644 --- a/.gitea/workflows/update.yml +++ b/.gitea/workflows/update.yml @@ -2,7 +2,7 @@ name: Update CI/CD Pipeline on: schedule: - - cron: '48 * * * *' # Runs the pipeline at the 39th minute of every hour + - cron: '52 * * * *' # Runs the pipeline at the 39th minute of every hour jobs: update: @@ -26,20 +26,12 @@ jobs: git checkout -b update-branch git add . git commit -m "Automated update of laws" + git push origin update-branch else echo "No changes detected." exit 0 fi - - name: Push changes if any - if: success() - run: | - if [ -n "$(git status --porcelain)" ]; then - git push origin update-branch - else - echo "No changes to push." - fi - - name: Create Pull Request if: success() run: |