From 88ee13b0c9c12a6423fee0cd69604e0966354534 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 24 Nov 2025 18:58:51 +0000 Subject: [PATCH 1/5] Initial plan From d814bed063cb0b55584da8da71e1082ea8c924c1 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 24 Nov 2025 19:02:05 +0000 Subject: [PATCH 2/5] Add version comments to actions/checkout references Co-authored-by: shenxianpeng <3353385+shenxianpeng@users.noreply.github.com> --- .github/workflows/cpp-linter.yml | 1 + .github/workflows/examples/only-PR-comments.yml | 1 + .github/workflows/examples/only-clang-format.yml | 1 + .github/workflows/examples/only-clang-tidy.yml | 1 + .github/workflows/release.yml | 1 + .github/workflows/self-test.yml | 1 + 6 files changed, 6 insertions(+) diff --git a/.github/workflows/cpp-linter.yml b/.github/workflows/cpp-linter.yml index 2e812055..69f0aef5 100644 --- a/.github/workflows/cpp-linter.yml +++ b/.github/workflows/cpp-linter.yml @@ -13,6 +13,7 @@ jobs: cpp-linter: runs-on: ubuntu-latest steps: + # v6.0.0 - uses: actions/checkout@v6 - uses: cpp-linter/cpp-linter-action@main id: linter diff --git a/.github/workflows/examples/only-PR-comments.yml b/.github/workflows/examples/only-PR-comments.yml index d4771330..0fe0f74e 100644 --- a/.github/workflows/examples/only-PR-comments.yml +++ b/.github/workflows/examples/only-PR-comments.yml @@ -13,6 +13,7 @@ jobs: permissions: # (1)! pull-requests: write steps: + # v5.0.1 - uses: actions/checkout@v5 # ... optionally setup build env to create a compilation database diff --git a/.github/workflows/examples/only-clang-format.yml b/.github/workflows/examples/only-clang-format.yml index c7450d82..bb949ca1 100644 --- a/.github/workflows/examples/only-clang-format.yml +++ b/.github/workflows/examples/only-clang-format.yml @@ -11,6 +11,7 @@ jobs: cpp-linter: runs-on: ubuntu-latest steps: + # v5.0.1 - uses: actions/checkout@v5 # ... optionally setup build env to create a compilation database diff --git a/.github/workflows/examples/only-clang-tidy.yml b/.github/workflows/examples/only-clang-tidy.yml index e673e44b..815c1416 100644 --- a/.github/workflows/examples/only-clang-tidy.yml +++ b/.github/workflows/examples/only-clang-tidy.yml @@ -11,6 +11,7 @@ jobs: cpp-linter: runs-on: ubuntu-latest steps: + # v5.0.1 - uses: actions/checkout@v5 # ... optionally setup build env to create a compilation database diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 542d4522..b18e77f6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,6 +22,7 @@ jobs: re-tag: runs-on: ubuntu-latest steps: + # v6.0.0 - uses: actions/checkout@v6 with: fetch-depth: 0 diff --git a/.github/workflows/self-test.yml b/.github/workflows/self-test.yml index 67015b26..92194198 100644 --- a/.github/workflows/self-test.yml +++ b/.github/workflows/self-test.yml @@ -39,6 +39,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Checkout + # v6.0.0 uses: actions/checkout@v6 - name: Cache the build artifacts From ce0a7c71875948cd32ea0ad0554852885710637f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 24 Nov 2025 19:05:52 +0000 Subject: [PATCH 3/5] Move version comments to inline format Co-authored-by: shenxianpeng <3353385+shenxianpeng@users.noreply.github.com> --- .github/workflows/cpp-linter.yml | 3 +-- .github/workflows/examples/only-PR-comments.yml | 3 +-- .github/workflows/examples/only-clang-format.yml | 3 +-- .github/workflows/examples/only-clang-tidy.yml | 3 +-- .github/workflows/release.yml | 3 +-- .github/workflows/self-test.yml | 3 +-- 6 files changed, 6 insertions(+), 12 deletions(-) diff --git a/.github/workflows/cpp-linter.yml b/.github/workflows/cpp-linter.yml index 69f0aef5..942866c9 100644 --- a/.github/workflows/cpp-linter.yml +++ b/.github/workflows/cpp-linter.yml @@ -13,8 +13,7 @@ jobs: cpp-linter: runs-on: ubuntu-latest steps: - # v6.0.0 - - uses: actions/checkout@v6 + - uses: actions/checkout@v6 # v6.0.0 - uses: cpp-linter/cpp-linter-action@main id: linter continue-on-error: true diff --git a/.github/workflows/examples/only-PR-comments.yml b/.github/workflows/examples/only-PR-comments.yml index 0fe0f74e..0e8e2c7a 100644 --- a/.github/workflows/examples/only-PR-comments.yml +++ b/.github/workflows/examples/only-PR-comments.yml @@ -13,8 +13,7 @@ jobs: permissions: # (1)! pull-requests: write steps: - # v5.0.1 - - uses: actions/checkout@v5 + - uses: actions/checkout@v5 # v5.0.1 # ... optionally setup build env to create a compilation database diff --git a/.github/workflows/examples/only-clang-format.yml b/.github/workflows/examples/only-clang-format.yml index bb949ca1..72c427f6 100644 --- a/.github/workflows/examples/only-clang-format.yml +++ b/.github/workflows/examples/only-clang-format.yml @@ -11,8 +11,7 @@ jobs: cpp-linter: runs-on: ubuntu-latest steps: - # v5.0.1 - - uses: actions/checkout@v5 + - uses: actions/checkout@v5 # v5.0.1 # ... optionally setup build env to create a compilation database diff --git a/.github/workflows/examples/only-clang-tidy.yml b/.github/workflows/examples/only-clang-tidy.yml index 815c1416..abd66eef 100644 --- a/.github/workflows/examples/only-clang-tidy.yml +++ b/.github/workflows/examples/only-clang-tidy.yml @@ -11,8 +11,7 @@ jobs: cpp-linter: runs-on: ubuntu-latest steps: - # v5.0.1 - - uses: actions/checkout@v5 + - uses: actions/checkout@v5 # v5.0.1 # ... optionally setup build env to create a compilation database diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b18e77f6..1ac3c9fe 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,8 +22,7 @@ jobs: re-tag: runs-on: ubuntu-latest steps: - # v6.0.0 - - uses: actions/checkout@v6 + - uses: actions/checkout@v6 # v6.0.0 with: fetch-depth: 0 ref: ${{ inputs.ref }} diff --git a/.github/workflows/self-test.yml b/.github/workflows/self-test.yml index 92194198..0c4de1c0 100644 --- a/.github/workflows/self-test.yml +++ b/.github/workflows/self-test.yml @@ -39,8 +39,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Checkout - # v6.0.0 - uses: actions/checkout@v6 + uses: actions/checkout@v6 # v6.0.0 - name: Cache the build artifacts id: cache-build From 626efce2406ff69285843913cca370be5d731d9f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 24 Nov 2025 21:20:44 +0000 Subject: [PATCH 4/5] Revert examples folder changes and use commit hash in comments Co-authored-by: shenxianpeng <3353385+shenxianpeng@users.noreply.github.com> --- .github/workflows/cpp-linter.yml | 2 +- .github/workflows/examples/only-PR-comments.yml | 2 +- .github/workflows/examples/only-clang-format.yml | 2 +- .github/workflows/examples/only-clang-tidy.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/self-test.yml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/cpp-linter.yml b/.github/workflows/cpp-linter.yml index 942866c9..8d932971 100644 --- a/.github/workflows/cpp-linter.yml +++ b/.github/workflows/cpp-linter.yml @@ -13,7 +13,7 @@ jobs: cpp-linter: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 # v6.0.0 + - uses: actions/checkout@v6 # 1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 - uses: cpp-linter/cpp-linter-action@main id: linter continue-on-error: true diff --git a/.github/workflows/examples/only-PR-comments.yml b/.github/workflows/examples/only-PR-comments.yml index 0e8e2c7a..d4771330 100644 --- a/.github/workflows/examples/only-PR-comments.yml +++ b/.github/workflows/examples/only-PR-comments.yml @@ -13,7 +13,7 @@ jobs: permissions: # (1)! pull-requests: write steps: - - uses: actions/checkout@v5 # v5.0.1 + - uses: actions/checkout@v5 # ... optionally setup build env to create a compilation database diff --git a/.github/workflows/examples/only-clang-format.yml b/.github/workflows/examples/only-clang-format.yml index 72c427f6..c7450d82 100644 --- a/.github/workflows/examples/only-clang-format.yml +++ b/.github/workflows/examples/only-clang-format.yml @@ -11,7 +11,7 @@ jobs: cpp-linter: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 # v5.0.1 + - uses: actions/checkout@v5 # ... optionally setup build env to create a compilation database diff --git a/.github/workflows/examples/only-clang-tidy.yml b/.github/workflows/examples/only-clang-tidy.yml index abd66eef..e673e44b 100644 --- a/.github/workflows/examples/only-clang-tidy.yml +++ b/.github/workflows/examples/only-clang-tidy.yml @@ -11,7 +11,7 @@ jobs: cpp-linter: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 # v5.0.1 + - uses: actions/checkout@v5 # ... optionally setup build env to create a compilation database diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1ac3c9fe..84059721 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,7 +22,7 @@ jobs: re-tag: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 # v6.0.0 + - uses: actions/checkout@v6 # 1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 with: fetch-depth: 0 ref: ${{ inputs.ref }} diff --git a/.github/workflows/self-test.yml b/.github/workflows/self-test.yml index 0c4de1c0..de78d250 100644 --- a/.github/workflows/self-test.yml +++ b/.github/workflows/self-test.yml @@ -39,7 +39,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Checkout - uses: actions/checkout@v6 # v6.0.0 + uses: actions/checkout@v6 # 1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 - name: Cache the build artifacts id: cache-build From 41a3b158b9564e00f999078ba6a4a7e979420721 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 24 Nov 2025 21:30:52 +0000 Subject: [PATCH 5/5] Use commit hash as reference and version tag as comment Co-authored-by: shenxianpeng <3353385+shenxianpeng@users.noreply.github.com> --- .github/workflows/cpp-linter.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/self-test.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cpp-linter.yml b/.github/workflows/cpp-linter.yml index 8d932971..d3ae8697 100644 --- a/.github/workflows/cpp-linter.yml +++ b/.github/workflows/cpp-linter.yml @@ -13,7 +13,7 @@ jobs: cpp-linter: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 # 1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 + - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 - uses: cpp-linter/cpp-linter-action@main id: linter continue-on-error: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 84059721..ad92205d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,7 +22,7 @@ jobs: re-tag: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 # 1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 + - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 with: fetch-depth: 0 ref: ${{ inputs.ref }} diff --git a/.github/workflows/self-test.yml b/.github/workflows/self-test.yml index de78d250..5c60ebf6 100644 --- a/.github/workflows/self-test.yml +++ b/.github/workflows/self-test.yml @@ -39,7 +39,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Checkout - uses: actions/checkout@v6 # 1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 + uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 - name: Cache the build artifacts id: cache-build