From 8677abc8c963e79453457039d8607b45354127e5 Mon Sep 17 00:00:00 2001 From: Martin Pool Date: Thu, 1 Oct 2026 08:02:19 -0700 Subject: [PATCH 1/3] Don't persist git credentials in workers --- .github/workflows/tests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 97ae8475..7a258cfb 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -52,6 +52,7 @@ jobs: - uses: actions/checkout@v6 with: fetch-depth: 0 + persist-credentials: false - uses: dtolnay/rust-toolchain@master with: toolchain: beta From 4200c78255c374d1a70563b501e0c0226070e735 Mon Sep 17 00:00:00 2001 From: Martin Pool Date: Thu, 1 Oct 2026 08:03:15 -0700 Subject: [PATCH 2/3] ci: Test on PR or push to main --- .github/workflows/tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7a258cfb..c4620724 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -13,8 +13,8 @@ on: schedule: - cron: "55 10 * * 0" push: - # branches: - # - main + branches: + - main paths: - ".cargo/*.toml" - ".github/workflows/tests.yml" From e041e4bc60785f9ad2ffcb45a80fefe60ae45a0e Mon Sep 17 00:00:00 2001 From: Martin Pool Date: Thu, 1 Oct 2026 08:04:56 -0700 Subject: [PATCH 3/3] ci: Use crate-ci/typos@v1 Referring to the `master` branch is deprecated. --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c4620724..343864c5 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -62,7 +62,7 @@ jobs: - name: Check rustfmt run: cargo fmt --all --check - name: Check typos - uses: crate-ci/typos@master + uses: crate-ci/typos@v1 binary: runs-on: ubuntu-latest