diff --git a/.github/workflows/CI_check_integration_format.yml b/.github/workflows/CI_check_integration_format.yml new file mode 100644 index 000000000..92e7310b4 --- /dev/null +++ b/.github/workflows/CI_check_integration_format.yml @@ -0,0 +1,16 @@ +name: Core / Check Integration Format +on: +- pull_request + +jobs: + check: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Ensure no hyphens + run: | + set +e + find -name "*-*" -type d -maxdepth 2 | grep integrations + test "$?" -eq 1 && exit 0 || echo "::error::Names of folders in ./integrations must not contain hyphens" && exit 1