From cdd6cd1fc7756f51dfe0c3f90618412c5a044c23 Mon Sep 17 00:00:00 2001 From: Wei18 Date: Sat, 1 Nov 2025 01:27:55 +0000 Subject: [PATCH 1/3] Remove submodule to improve Swift Package experience --- .gitmodules | 4 ---- Submodule/github/rest-api-description | 1 - 2 files changed, 5 deletions(-) delete mode 160000 Submodule/github/rest-api-description diff --git a/.gitmodules b/.gitmodules index cfdc733eb75..e69de29bb2d 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,4 +0,0 @@ -[submodule "Submodule/github/rest-api-description"] - path = Submodule/github/rest-api-description - url = https://github.com/github/rest-api-description.git - shallow = true diff --git a/Submodule/github/rest-api-description b/Submodule/github/rest-api-description deleted file mode 160000 index b8a14b78a08..00000000000 --- a/Submodule/github/rest-api-description +++ /dev/null @@ -1 +0,0 @@ -Subproject commit b8a14b78a08975af4295c103ea347f8f42f0e684 From dbe7af9d943d15854d4dc0ff424ad75a00193730 Mon Sep 17 00:00:00 2001 From: Wei18 <11254896+Wei18@users.noreply.github.com> Date: Sat, 1 Nov 2025 21:33:51 +0800 Subject: [PATCH 2/3] Revert "Remove submodule to improve Swift Package experience" This reverts commit cdd6cd1fc7756f51dfe0c3f90618412c5a044c23. --- .gitmodules | 4 ++++ Submodule/github/rest-api-description | 1 + 2 files changed, 5 insertions(+) create mode 160000 Submodule/github/rest-api-description diff --git a/.gitmodules b/.gitmodules index e69de29bb2d..cfdc733eb75 100644 --- a/.gitmodules +++ b/.gitmodules @@ -0,0 +1,4 @@ +[submodule "Submodule/github/rest-api-description"] + path = Submodule/github/rest-api-description + url = https://github.com/github/rest-api-description.git + shallow = true diff --git a/Submodule/github/rest-api-description b/Submodule/github/rest-api-description new file mode 160000 index 00000000000..b8a14b78a08 --- /dev/null +++ b/Submodule/github/rest-api-description @@ -0,0 +1 @@ +Subproject commit b8a14b78a08975af4295c103ea347f8f42f0e684 From 43e0e2555a652256084f666768dcf4c6c0ceb360 Mon Sep 17 00:00:00 2001 From: Wei18 <11254896+Wei18@users.noreply.github.com> Date: Sat, 1 Nov 2025 21:40:35 +0800 Subject: [PATCH 3/3] Fix: fetch-depth in .github/workflows --- .github/composites/setup/action.yml | 2 ++ .github/workflows/{CI-Dependabot.yml => DependabotPulls.yml} | 0 .github/workflows/Release.yml | 1 + .github/workflows/{CI.yml => Test.yml} | 2 +- 4 files changed, 4 insertions(+), 1 deletion(-) rename .github/workflows/{CI-Dependabot.yml => DependabotPulls.yml} (100%) rename .github/workflows/{CI.yml => Test.yml} (98%) diff --git a/.github/composites/setup/action.yml b/.github/composites/setup/action.yml index 4bb760c6ece..fd87b1b9392 100644 --- a/.github/composites/setup/action.yml +++ b/.github/composites/setup/action.yml @@ -12,6 +12,8 @@ runs: using: 'composite' steps: - uses: jdx/mise-action@v2 + env: + MISE_DATA_DIR: ${{ runner.temp }}/${{ github.action }}/mise with: mise_toml: | [tools] diff --git a/.github/workflows/CI-Dependabot.yml b/.github/workflows/DependabotPulls.yml similarity index 100% rename from .github/workflows/CI-Dependabot.yml rename to .github/workflows/DependabotPulls.yml diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index 9927756a87c..1b99f01c5d7 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -65,6 +65,7 @@ jobs: - uses: actions/checkout@v5 with: ref: ${{ env.RELEASE_BRANCH }} + fetch-depth: 2 - name: Revert previous commit run: | diff --git a/.github/workflows/CI.yml b/.github/workflows/Test.yml similarity index 98% rename from .github/workflows/CI.yml rename to .github/workflows/Test.yml index 2ae9f62770c..0db2fad11b3 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/Test.yml @@ -1,4 +1,4 @@ -name: CI +name: Test on: push: