Dough Git

commit

Delete .github directory

commit
d10344722e486e4a84ceb8b3a8e1c24f08fb0095
author
Clove Twilight <[email protected]>
date
2026-11-24 13:34

diff --git a/.github/workflows/codeberg.yml b/.github/workflows/codeberg.yml
deleted file mode 100644
index 4dadf38..0000000
--- a/.github/workflows/codeberg.yml
+++ /dev/null
@@ -1,72 +0,0 @@
-# go to my backup
-name: Codeberg
-
-on:
-  push:
-
-jobs:
-  mirror:
-    runs-on: ubuntu-latest
-
-    permissions:
-      contents: read
-
-    concurrency:
-      group: mirror-${{ github.repository }}
-      cancel-in-progress: false
-
-    env:
-      CODEBERG_HOST: codeberg.org
-      CODEBERG_USERNAME: ${{ secrets.CODEBERG_USERNAME }}
-      CODEBERG_REPO: ${{ secrets.CODEBERG_REPO }}
-      CODEBERG_TOKEN: ${{ secrets.CODEBERG_TOKEN }}
-
-    steps:
-      - name: Clone every ref
-        env:
-          SOURCE_TOKEN: ${{ github.token }}
-          SERVER_URL: ${{ github.server_url }}
-        run: |
-          set -euo pipefail
-
-          sourceHost="${SERVER_URL#https://}"
-
-          git clone --mirror \
-            "https://x-access-token:${SOURCE_TOKEN}@${sourceHost}/${GITHUB_REPOSITORY}.git" \
-            source.git
-
-      - name: Drop pull-request refs
-        working-directory: source.git
-        run: |
-          set -euo pipefail
-
-          git for-each-ref --format='%(refname)' 'refs/pull/*' \
-            | while read -r ref; do
-                git update-ref -d "$ref"
-              done
-
-      - name: Push mirror
-        working-directory: source.git
-        run: |
-          set -euo pipefail
-
-          if [ -z "$CODEBERG_USERNAME" ]; then
-            echo "CODEBERG_USERNAME is not set" >&2
-            exit 1
-          fi
-
-          if [ -z "$CODEBERG_REPO" ]; then
-            echo "CODEBERG_REPO is not set" >&2
-            exit 1
-          fi
-
-          targetUrl="https://${CODEBERG_HOST}/${CODEBERG_USERNAME}/${CODEBERG_REPO}.git"
-
-          echo "Mirroring ${GITHUB_REPOSITORY} -> ${targetUrl}"
-
-          git remote add mirror "$targetUrl"
-
-          # Credentials go through a helper so the token never lands in .git/config
-          git -c credential.helper= \
-              -c "credential.helper=!f() { echo username=\"\$CODEBERG_USERNAME\"; echo password=\"\$CODEBERG_TOKEN\"; }; f" \
-              push --mirror mirror
diff --git a/.github/workflows/typecheck.yml b/.github/workflows/typecheck.yml
deleted file mode 100644
index 5eb7c95..0000000
--- a/.github/workflows/typecheck.yml
+++ /dev/null
@@ -1,15 +0,0 @@
-name: Typecheck
-
-on:
-  push:
-    branches-ignore: [main]
-  pull_request:
-
-jobs:
-  tsc:
-    runs-on: ubuntu-latest
-    steps:
-      - uses: actions/checkout@v4
-      - uses: oven-sh/setup-bun@v2
-      - run: bun install --frozen-lockfile
-      - run: bun run typecheck