From ff356d58ba7a871f55862aae6c9fc2e2345ab2ce Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Mon, 27 Jul 2026 08:33:44 -0500 Subject: [PATCH] fix: configure git to use HTTPS token auth for submodules --- .forgejo/workflows/ci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 91b9def..dc5af2b 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -28,6 +28,10 @@ jobs: MIX_ENV: test steps: + - name: Configure git for submodules + run: | + git config --global url."https://oauth2:${{ secrets.FORGEJO_TOKEN }}@git.mcintire.me/".insteadOf "ssh://git@git.mcintire.me/" + - name: Checkout uses: https://code.forgejo.org/actions/checkout@v4 with: @@ -83,6 +87,10 @@ jobs: MIX_ENV: dev steps: + - name: Configure git for submodules + run: | + git config --global url."https://oauth2:${{ secrets.FORGEJO_TOKEN }}@git.mcintire.me/".insteadOf "ssh://git@git.mcintire.me/" + - name: Checkout uses: https://code.forgejo.org/actions/checkout@v4 with: @@ -123,6 +131,10 @@ jobs: if: github.event_name == 'push' steps: + - name: Configure git for submodules + run: | + git config --global url."https://oauth2:${{ secrets.FORGEJO_TOKEN }}@git.mcintire.me/".insteadOf "ssh://git@git.mcintire.me/" + - name: Checkout code uses: https://code.forgejo.org/actions/checkout@v4 with: