From 99403f2b285e2d80a93af56d1c7fd8f00697045e Mon Sep 17 00:00:00 2001 From: Marcin Polewski Date: Fri, 30 Oct 2026 21:47:09 -0600 Subject: [PATCH 1/2] ci: pin third-party actions to commit SHAs --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0dc3a08..fdfa152 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -29,7 +29,7 @@ jobs: with: dotnet-version: 10.0.x - name: Extract version from tag - uses: dhkatz/get-version-action@v3.0.0 + uses: dhkatz/get-version-action@9166b8a614609209809cdef096d62b39287139cb # v3.0.0 id: extract_version - name: Restore dependencies run: dotnet restore @@ -68,7 +68,7 @@ jobs: - name: Run rests run: dotnet test --no-build --verbosity normal --configuration ${BUILD_CONFIGURATION} --logger trx - name: Publish tests - uses: dorny/test-reporter@v3 + uses: dorny/test-reporter@d1b5dff021aa968b288b02285a8bf47471c5928a # v3.2.0 if: success() || failure() with: name: test report From 10bfa2db054b1f1f38c79f9e8c44027c23c50794 Mon Sep 17 00:00:00 2001 From: Marcin Polewski Date: Wed, 4 Nov 2026 01:33:20 +0000 Subject: [PATCH 2/2] ci: do not persist checkout credentials --- .github/workflows/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fdfa152..0312f96 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,6 +24,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v7 + with: + persist-credentials: false - name: Setup .NET uses: actions/setup-dotnet@v6 with: @@ -55,6 +57,8 @@ jobs: checks: write steps: - uses: actions/checkout@v7 + with: + persist-credentials: false - name: Download artifacts uses: actions/download-artifact@v8 with: @@ -83,6 +87,8 @@ jobs: contents: write steps: - uses: actions/checkout@v7 + with: + persist-credentials: false - name: Download artifacts uses: actions/download-artifact@v8 with: