Skip to content

Commit

Permalink
Update submodule URL to use token authentication
Browse files Browse the repository at this point in the history
  • Loading branch information
igr-santos committed Nov 7, 2024
1 parent 132e8fe commit f8c0f48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/terraform-stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
with:
submodules: true # Clona os submódulos junto com o repositório principal
fetch-depth: 0 # Garante que o histórico completo seja baixado, necessário para alguns submódulos
token: ${{ secrets.GITHUB_TOKEN }} # Usa o token para acessar submódulos privados
token: ${{ secrets.GITHUB_TOKEN }} # Usa o Github token para acessar submódulos privados

- name: Setup SSH key
env:
Expand Down
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "instances/monitoring"]
path = instances/monitoring
url = git@github.com:nossas/monitoramento.git
url = https://${GITHUB_TOKEN}@github.com/nossas/monitoramento.git

0 comments on commit f8c0f48

Please sign in to comment.