From 9e7265dd6438e3d54dfd3e47384bd16551708aee Mon Sep 17 00:00:00 2001 From: William Woodruff Date: Fri, 10 Apr 2026 16:28:22 -0400 Subject: [PATCH 1/2] Hash-pin all actions with `pinact run -v` Signed-off-by: William Woodruff --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6309a5f..af21bb9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,7 +18,7 @@ jobs: runs-on: windows-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 - name: 'Remove existing PyManager install' run: | @@ -38,7 +38,7 @@ jobs: # We move faster than GitHub's Python runtimes, so use NuGet instead # One day we can use ourselves to download Python, but not yet... - name: Set up NuGet - uses: nuget/setup-nuget@v2.0.1 + uses: nuget/setup-nuget@323ab0502cd38fdc493335025a96c8fdb0edc71f # v2.0.1 - name: Set up Python 3.14.3 run: | @@ -74,7 +74,7 @@ jobs: --cov-report xml - name: 'Upload coverage' - uses: codecov/codecov-action@v5 + uses: codecov/codecov-action@75cd11691c0faa626561e295848008c8a7dddffe # v5.5.4 with: token: ${{ secrets.CODECOV_ORG_TOKEN }} From d2f9858cac9014e98eb871998c85a0612c551c34 Mon Sep 17 00:00:00 2001 From: William Woodruff Date: Fri, 10 Apr 2026 16:29:48 -0400 Subject: [PATCH 2/2] Drop permissions/cred persistence, add a Dependabot config Signed-off-by: William Woodruff --- .github/dependabot.yml | 12 ++++++++++++ .github/workflows/build.yml | 3 +++ 2 files changed, 15 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..4b3fa42 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,12 @@ +version: 2 +updates: + - package-ecosystem: github-actions + cooldown: + default-days: 7 + directory: / + schedule: + interval: weekly + groups: + github-actions: + patterns: + - "*" diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index af21bb9..0ea2805 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,6 +12,7 @@ env: PIP_VERBOSE: true PYMSBUILD_VERBOSE: true +permissions: {} jobs: build: @@ -19,6 +20,8 @@ jobs: steps: - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 + with: + persist-credentials: false - name: 'Remove existing PyManager install' run: |