From 6aeb90d395ce5f626039d0fbd48894a09187c57b Mon Sep 17 00:00:00 2001 From: Gyuheon Oh Date: Wed, 11 Mar 2026 04:22:08 +0000 Subject: [PATCH 1/2] recursive checkout for semver --- .github/workflows/pr-title-semver-check.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/pr-title-semver-check.yml b/.github/workflows/pr-title-semver-check.yml index 288f9dbfd7..4c778d7b52 100644 --- a/.github/workflows/pr-title-semver-check.yml +++ b/.github/workflows/pr-title-semver-check.yml @@ -48,6 +48,11 @@ jobs: {name: .name, manifest_path: .manifest_path, relative_path: (.manifest_path | sub($root + "/"; ""))} ') + # Crates excluded from semver checks because cargo-semver-checks cannot + # build their baseline (e.g. git-submodule dependencies that aren't + # available in the semver-checks worktree). + EXCLUDED_CRATES="libdd-crashtracker" + # Array to store changed published crates CHANGED_CRATES=() @@ -57,6 +62,12 @@ jobs: RELATIVE_PATH=$(echo "$crate_info" | jq -r '.relative_path') CRATE_DIR=$(dirname "$RELATIVE_PATH") + # Skip excluded crates + if echo "$EXCLUDED_CRATES" | grep -qw "$CRATE_NAME"; then + echo "Skipping excluded crate: $CRATE_NAME" + continue + fi + # Check if any files in this crate directory changed if echo "$CHANGED_FILES" | grep -q "^${CRATE_DIR}/"; then echo "Detected change in published crate: $CRATE_NAME ($CRATE_DIR)" From 292a651f7c262a42993508a87aef8d2f53b98a83 Mon Sep 17 00:00:00 2001 From: Gyuheon Oh Date: Wed, 11 Mar 2026 04:50:47 +0000 Subject: [PATCH 2/2] Recursive checkout --- .github/workflows/pr-title-semver-check.yml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/.github/workflows/pr-title-semver-check.yml b/.github/workflows/pr-title-semver-check.yml index 4c778d7b52..a2ba93382c 100644 --- a/.github/workflows/pr-title-semver-check.yml +++ b/.github/workflows/pr-title-semver-check.yml @@ -48,11 +48,6 @@ jobs: {name: .name, manifest_path: .manifest_path, relative_path: (.manifest_path | sub($root + "/"; ""))} ') - # Crates excluded from semver checks because cargo-semver-checks cannot - # build their baseline (e.g. git-submodule dependencies that aren't - # available in the semver-checks worktree). - EXCLUDED_CRATES="libdd-crashtracker" - # Array to store changed published crates CHANGED_CRATES=() @@ -62,12 +57,6 @@ jobs: RELATIVE_PATH=$(echo "$crate_info" | jq -r '.relative_path') CRATE_DIR=$(dirname "$RELATIVE_PATH") - # Skip excluded crates - if echo "$EXCLUDED_CRATES" | grep -qw "$CRATE_NAME"; then - echo "Skipping excluded crate: $CRATE_NAME" - continue - fi - # Check if any files in this crate directory changed if echo "$CHANGED_FILES" | grep -q "^${CRATE_DIR}/"; then echo "Detected change in published crate: $CRATE_NAME ($CRATE_DIR)" @@ -98,6 +87,7 @@ jobs: with: fetch-depth: 0 persist-credentials: false + submodules: recursive - name: Install Rust ${{ env.RUST_VERSION }} run: |