Skip to content
This repository has been archived by the owner on Dec 13, 2024. It is now read-only.

Add CI job to ensure no SSH URLs in .gitmodules #299

Merged
merged 2 commits into from
Jun 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,11 @@ jobs:
with:
image_tag: ${{ github.event.inputs.image_tag || null }}
secrets: inherit

ensure-no-ssh-in-gitmodules:
name: Ensure no SSH URLs in .gitmodules
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Check .gitmodules file for Git-over-SSH URLs
run: "! grep 'git@' .gitmodules"
Loading