diff --git a/.gitea/workflows/build-stable.yml b/.gitea/workflows/build-stable.yml index 182dae6..a16d63a 100644 --- a/.gitea/workflows/build-stable.yml +++ b/.gitea/workflows/build-stable.yml @@ -20,17 +20,6 @@ jobs: curl -fsSL https://deb.nodesource.com/setup_20.x | bash - apt install -y nodejs - - name: Disable any credential helper - run: | - git config --global --unset credential.helper || true - - - name: Remove stray http.extraheader entries - run: | - # List any that exist (for debugging) - git config --local --list | grep '^http\.https://git\.ahoneybun\.net/' - # Delete them if they exist - git config --local --unset-all "http.https://git.ahoneybun.net/.extraheader" || true - - name: Checkout uses: actions/checkout@v5 with: diff --git a/.gitea/workflows/build-unstable.yml b/.gitea/workflows/build-unstable.yml index 2d42a0a..081a119 100644 --- a/.gitea/workflows/build-unstable.yml +++ b/.gitea/workflows/build-unstable.yml @@ -20,20 +20,19 @@ jobs: curl -fsSL https://deb.nodesource.com/setup_20.x | bash - apt install -y nodejs - - name: Disable any credential helper - run: | - git config --global --unset credential.helper || true - - - name: Remove stray http.extraheader entries - run: | - # List any that exist (for debugging) - git config --local --list | grep '^http\.https://git\.ahoneybun\.net/' - # Delete them if they exist - git config --local --unset-all "http.https://git.ahoneybun.net/.extraheader" || true - - name: Checkout uses: actions/checkout@v5 - + with: + # Keep it shallow + fetch-depth: 1 + # Override the repository URL to HTTP + repository: ${{ github.repository }} + # Force use of HTTP instead of HTTPS + # This uses the HTTP URL from the origin (replace with your Forgejo HTTP URL) + # Example: http://git.ahoneybun.net//.git + # Git will accept this without auth + persist-credentials: false + - name: Build run: | cd unstable-with-flakes