fix: configure git to use HTTPS token auth for submodules
Some checks failed
Elixir CI / Dialyzer (push) Failing after 6s
Elixir CI / Build and test (push) Failing after 17s
Elixir CI / Build and Push Docker Image (push) Has been skipped

This commit is contained in:
Graham McIntire 2026-07-27 08:33:44 -05:00
parent e1a1925399
commit ff356d58ba
No known key found for this signature in database
GPG key ID: F4ABF488E6029E59

View file

@ -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: