diff --git a/.github/workflows/disallow-submodules.yml b/.github/workflows/disallow-submodules.yml new file mode 100644 index 000000000000..c61685931565 --- /dev/null +++ b/.github/workflows/disallow-submodules.yml @@ -0,0 +1,22 @@ +name: "Disallow submodules" +permissions: read-all + +on: + pull_request + +jobs: + disallow-submodules: + runs-on: ubuntu-22.04 + steps: + - name: Checkout repository + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.2 + - name: Check for submodules + run: | + output=$(git submodule status --recursive 2>&1) + if [ ! -z $output ]; then + echo $output + echo "Submodules are not allowed" + exit 1 + else + echo "No submodules found" + fi diff --git a/.github/workflows/repository-documentation-deploy.yml b/.github/workflows/repository-documentation-deploy.yml index c21bc900150d..630b49fdcd8a 100644 --- a/.github/workflows/repository-documentation-deploy.yml +++ b/.github/workflows/repository-documentation-deploy.yml @@ -15,7 +15,7 @@ jobs: steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.2 with: - submodules: true # Fetch Hugo themes (true OR recursive) + submodules: false # Fetch Hugo themes (true OR recursive) fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod - name: Setup Hugo diff --git a/.github/workflows/repository-documentation-test.yml b/.github/workflows/repository-documentation-test.yml index b425ecb58ca7..ea15e4aa3188 100644 --- a/.github/workflows/repository-documentation-test.yml +++ b/.github/workflows/repository-documentation-test.yml @@ -13,7 +13,7 @@ jobs: steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.2 with: - submodules: true # Fetch Hugo themes (true OR recursive) + submodules: false # Fetch Hugo themes (true OR recursive) fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod - name: Setup Hugo diff --git a/magician-vcr-eap b/magician-vcr-eap deleted file mode 160000 index 489059b3c38f..000000000000 --- a/magician-vcr-eap +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 489059b3c38f038cd99d3b1d570fa4b09db4275c