diff --git a/.gitea/workflows/pull_request.yaml b/.gitea/workflows/pull_request.yaml index 9f3fb80..ec4f9a1 100644 --- a/.gitea/workflows/pull_request.yaml +++ b/.gitea/workflows/pull_request.yaml @@ -114,26 +114,6 @@ jobs: update-version: runs-on: ubuntu-latest steps: - - name: Test Token - run: | - echo "Testing token permissions..." - - # Token-Format prüfen - if [ -z "${{ secrets.BOT_TOKEN }}" ]; then - echo "❌ BOT_TOKEN ist nicht gesetzt" - exit 1 - fi - - # API-Call zum Prüfen der Token-Berechtigungen - curl -f -H "Authorization: token ${{ secrets.BOT_TOKEN }}" \ - https://git.yannick-weigert.de/api/v1/user - - # Repository-Zugriff testen - curl -f -H "Authorization: token ${{ secrets.BOT_TOKEN }}" \ - https://git.yannick-weigert.de/api/v1/repos/liquid-development/game-tracker - - echo "✅ Token ist gültig" - - name: Checkout code uses: actions/checkout@v4 with: