diff --git a/.github/workflows/TestCITools.yml b/.github/workflows/TestCITools.yml index fe92a7f..6a243fb 100644 --- a/.github/workflows/TestCITools.yml +++ b/.github/workflows/TestCITools.yml @@ -64,4 +64,9 @@ jobs: code-quality-check: name: Code quality check - uses: ./.github/workflows/_extension_code_quality.yml \ No newline at end of file + uses: ./.github/workflows/_extension_code_quality.yml + with: + extension_name: quack + override_repository: duckdb/extension-template + override_ci_tools_repository: ${{ github.repository }} + ci_tools_version: ${{ github.sha }} \ No newline at end of file diff --git a/.github/workflows/_extension_code_quality.yml b/.github/workflows/_extension_code_quality.yml index 7e99fc2..9d956b1 100644 --- a/.github/workflows/_extension_code_quality.yml +++ b/.github/workflows/_extension_code_quality.yml @@ -19,9 +19,18 @@ jobs: steps: - uses: actions/checkout@v4 + name: Checkout current repository + if: ${{inputs.override_repository == ''}} with: fetch-depth: 0 - submodules: recursive + submodules: 'true' + + - uses: actions/checkout@v4 + name: Checkout Extension CI tools + with: + path: 'extension-ci-tools' + ref: ${{ inputs.ci_tools_version }} + repository: ${{ inputs.override_ci_tools_repository }} - name: Install shell: bash