diff --git a/.gitea/workflows/build-edge-node.yml b/.gitea/workflows/build-edge-node.yml index c59b8da..6f83a12 100644 --- a/.gitea/workflows/build-edge-node.yml +++ b/.gitea/workflows/build-edge-node.yml @@ -16,7 +16,11 @@ jobs: env: CONTAINER_NAME: edge-node steps: + # Full fetch: Gitea fails to pack the default depth=1 shallow clone + # ("bad pack header"). Don't set this back to a shallow fetch. - uses: actions/checkout@v4 + with: + fetch-depth: 0 - uses: docker/setup-qemu-action@v3 diff --git a/.gitea/workflows/build-icecast.yml b/.gitea/workflows/build-icecast.yml index b68744d..ff6e52f 100644 --- a/.gitea/workflows/build-icecast.yml +++ b/.gitea/workflows/build-icecast.yml @@ -16,7 +16,11 @@ jobs: env: CONTAINER_NAME: icecast steps: + # Full fetch: Gitea fails to pack the default depth=1 shallow clone + # ("bad pack header"). Don't set this back to a shallow fetch. - uses: actions/checkout@v4 + with: + fetch-depth: 0 - uses: docker/setup-qemu-action@v3 diff --git a/.gitea/workflows/build-op25.yml b/.gitea/workflows/build-op25.yml index 1e8e768..c3957b0 100644 --- a/.gitea/workflows/build-op25.yml +++ b/.gitea/workflows/build-op25.yml @@ -16,7 +16,11 @@ jobs: env: CONTAINER_NAME: op25-client steps: + # Full fetch: Gitea fails to pack the default depth=1 shallow clone + # ("bad pack header"). Don't set this back to a shallow fetch. - uses: actions/checkout@v4 + with: + fetch-depth: 0 - uses: docker/setup-qemu-action@v3 diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index a8fc6fe..002bdd8 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -11,7 +11,11 @@ jobs: run: working-directory: drb-edge-node steps: + # Full fetch: Gitea fails to pack the default depth=1 shallow clone + # ("bad pack header"). Don't set this back to a shallow fetch. - uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Install dependencies run: python3 -m pip install --break-system-packages -r requirements.txt pytest @@ -22,7 +26,11 @@ jobs: lint: runs-on: ubuntu-latest steps: + # Full fetch: Gitea fails to pack the default depth=1 shallow clone + # ("bad pack header"). Don't set this back to a shallow fetch. - uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Lint run: |