diff --git a/.gitea/workflows/maintenance.yaml b/.gitea/workflows/maintenance.yaml index 9ebe4fa..2de1609 100644 --- a/.gitea/workflows/maintenance.yaml +++ b/.gitea/workflows/maintenance.yaml @@ -2,7 +2,7 @@ name: Auto Maintenance Cycle on: schedule: - - cron: '0 1 * * *' + - cron: 0 1 * * * workflow_dispatch: jobs: @@ -27,6 +27,7 @@ jobs: - name: Generate Date run: echo "CURRENT_DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV - name: Create an PR action + if: steps.auto-commit-action.outputs.changes_detected == 'true' uses: ./ with: token: ${{ secrets.REPO_TOKEN }}