From 8e6af2b637dd93027006bc497269dc59f8cfcddc Mon Sep 17 00:00:00 2001 From: Philipp Horstenkamp Date: Tue, 21 May 2024 01:00:14 +0200 Subject: [PATCH] Removed the main branch checkout token since cron will only trigger the main branch. --- .gitea/workflows/maintenance.yaml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/maintenance.yaml b/.gitea/workflows/maintenance.yaml index a9c8387..e7d0137 100644 --- a/.gitea/workflows/maintenance.yaml +++ b/.gitea/workflows/maintenance.yaml @@ -13,15 +13,10 @@ jobs: env: SPECIFIC_BRANCH: chore/update-pre-commit steps: - - run: echo "Actor ${{ github.actor }}" - - name: check is REPO_TOKEN_SERVER exists - env: - REPO_TOKEN_SERVER: ${{ secrets.REPO_TOKEN_SERVER }} - if: ${{ env.REPO_TOKEN_SERVER == '' }} - run: echo the secret "REPO_TOKEN_SERVER" has not been made; echo please go to + - name: Check actor + run: echo "Actor ${{ github.actor }}" - uses: actions/checkout@v4 with: - ref: main token: ${{ secrets.REPO_TOKEN_SERVER }} - uses: actions/setup-python@v4 - run: pip install pre-commit