From 200ff964da547d14416c4891debf93d49b0e7d18 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 20 Apr 2026 14:18:09 +0000 Subject: [PATCH 1/2] Pin GitHub Actions in deploy workflow to commit SHAs Agent-Logs-Url: https://github.com/cpp-linter/cpp-linter.github.io/sessions/75d92b08-b787-4c36-aaa0-5136c847f806 Co-authored-by: shenxianpeng <3353385+shenxianpeng@users.noreply.github.com> --- .github/workflows/deploy.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index f205492..a386d9a 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -10,12 +10,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Repository - uses: actions/checkout@v6 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 with: persist-credentials: false - name: Set up Python - uses: actions/setup-python@v6 + uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6 with: python-version: '3.x' @@ -23,7 +23,7 @@ jobs: run: pipx run nox -s docs - name: Upload docs build as artifact - uses: actions/upload-pages-artifact@v5 + uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5 with: name: ${{ github.event.repository.name }}_docs path: ${{ github.workspace }}/site @@ -44,6 +44,6 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v5 + uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5 with: artifact_name: ${{ github.event.repository.name }}_docs From 0d7a98c31aced914faeace89667cc0b8d9b3a6bc Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 20 Apr 2026 15:16:12 +0000 Subject: [PATCH 2/2] Update action version comments to specific vX.X.X tags Agent-Logs-Url: https://github.com/cpp-linter/cpp-linter.github.io/sessions/c2f191a0-e539-4273-b788-d21509305a2b Co-authored-by: shenxianpeng <3353385+shenxianpeng@users.noreply.github.com> --- .github/workflows/deploy.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a386d9a..53eae9b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -10,12 +10,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Repository - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false - name: Set up Python - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6 + uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 with: python-version: '3.x' @@ -23,7 +23,7 @@ jobs: run: pipx run nox -s docs - name: Upload docs build as artifact - uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5 + uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0 with: name: ${{ github.event.repository.name }}_docs path: ${{ github.workspace }}/site @@ -44,6 +44,6 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5 + uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5.0.0 with: artifact_name: ${{ github.event.repository.name }}_docs