From db81df02650804527bca05d2c14e55abfdd162f2 Mon Sep 17 00:00:00 2001 From: Philipp Horstenkamp Date: Tue, 21 May 2024 00:23:58 +0200 Subject: [PATCH] Reworked the maintenance action to use an ssh key. --- .gitea/workflows/maintenance.yaml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.gitea/workflows/maintenance.yaml b/.gitea/workflows/maintenance.yaml index dddfe06..dbd39ff 100644 --- a/.gitea/workflows/maintenance.yaml +++ b/.gitea/workflows/maintenance.yaml @@ -22,13 +22,7 @@ jobs: - uses: actions/checkout@v4 with: ref: main - token: ${{ secrets.REPO_TOKEN }} - - name: Attempt to checkout specific branch - uses: actions/checkout@v4 - with: - ref: ${{ env.SPECIFIC_BRANCH }} - token: ${{ secrets.REPO_TOKEN }} - continue-on-error: true + ssh-key: ${{ secrets.SSH_RUNNER }} - uses: actions/setup-python@v4 - run: pip install pre-commit shell: bash