From f5230de24e875915d883359b660ca041d4ba5d55 Mon Sep 17 00:00:00 2001 From: Moody6 Date: Mon, 19 Oct 2026 11:54:22 +0000 Subject: [PATCH] Delete .gitea/workflows/diagnose.yaml --- .gitea/workflows/diagnose.yaml | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 .gitea/workflows/diagnose.yaml diff --git a/.gitea/workflows/diagnose.yaml b/.gitea/workflows/diagnose.yaml deleted file mode 100644 index 32f3d42..0000000 --- a/.gitea/workflows/diagnose.yaml +++ /dev/null @@ -1,34 +0,0 @@ - -name: Diagnose GitHub sync - -on: - push: - branches: - - main - workflow_dispatch: - -jobs: - diagnose: - runs-on: ubuntu-latest - steps: - - name: Check GitHub access - env: - GH_TOKEN: ${{ secrets.GH_TOKEN }} - run: | - set -eu - - REPO="tafakkur/PyNix-Website" - AUTH="$(printf 'x-access-token:%s' "$GH_TOKEN" | base64 | tr -d '\n')" - - git_auth() { - git -c http.extraheader="AUTHORIZATION: basic $AUTH" "$@" - } - - echo "Checking GitHub repository access..." - git_auth ls-remote \ - "https://github.com/${REPO}.git" refs/heads/main - - echo "Checking source commit..." - echo "$GITHUB_SHA" - - echo "GitHub read access succeeded."