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

Commit

Permalink
Add CI job to ensure no SSH URLs in .gitmodules (#299)
Browse files Browse the repository at this point in the history
  • Loading branch information
EzraBrooks authored Jun 28, 2024
1 parent 32ca76d commit 870aa4d
Showing 1 changed file with 8 additions and 0 deletions.
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"

0 comments on commit 870aa4d

Please sign in to comment.