From 4cb11d4d5fc677eff77f6478ea6ea008f2dfb66b Mon Sep 17 00:00:00 2001 From: Philipp Horstenkamp Date: Sun, 13 Jul 2025 14:53:58 +0200 Subject: [PATCH] Delete .gitea/workflows/maintenance.yaml (#40) Reviewed-on: https://git.horstenkamp.eu/Philipp/gitea-act-create-pr/pulls/40 --- .gitea/workflows/maintenance.yaml | 46 ------------------------------- 1 file changed, 46 deletions(-) delete mode 100644 .gitea/workflows/maintenance.yaml diff --git a/.gitea/workflows/maintenance.yaml b/.gitea/workflows/maintenance.yaml deleted file mode 100644 index 6bc8968..0000000 --- a/.gitea/workflows/maintenance.yaml +++ /dev/null @@ -1,46 +0,0 @@ -name: Auto Maintenance Cycle - -on: - schedule: - - cron: 0 0 * * * - -jobs: - auto-update: - name: pre-commit - runs-on: pi64 - env: - SPECIFIC_BRANCH: chore/update-pre-commit - steps: - - name: Check actor - run: echo "Actor ${{ github.actor }}" - - uses: actions/checkout@v4 - with: - token: ${{ secrets.REPO_TOKEN_SERVER }} - - uses: actions/setup-python@v5 - - run: pip install pre-commit - shell: bash - - run: pre-commit autoupdate - shell: bash - - name: Test pre-commit - run: SKIP=no-commit-to-branch pre-commit run -a - - name: Commit - id: auto-commit-action - uses: stefanzweifel/git-auto-commit-action@v5 - with: - commit_message: 'chore: update pre-commit hooks' - branch: ${{ env.SPECIFIC_BRANCH }} - create_branch: true - push_options: --force - commit_user_name: runner - commit_user_email: git@horstenkamp.eu - commit_author: runner - - 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: https://git.horstenkamp.eu/Philipp/gitea-act-create-pr@main - with: - token: ${{ secrets.REPO_TOKEN_SERVER }} - branch: ${{ env.SPECIFIC_BRANCH }} - title: Updates to the pre-commit action created at ${{ env.CURRENT_DATE }} - body: Update to the pre-commit action.