diff --git a/.github/dependabot.yml b/.github/dependabot.yml index af92f99..b1d3b1f 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -4,12 +4,18 @@ updates: directory: / schedule: interval: monthly + cooldown: + default-days: 7 - package-ecosystem: nix directory: / schedule: interval: monthly + cooldown: + default-days: 7 - package-ecosystem: cargo directory: / schedule: interval: weekly + cooldown: + default-days: 7 versioning-strategy: lockfile-only diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 70c5a41..c464ca2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ concurrency: jobs: read_msrv: name: Read MSRV - uses: actions-rust-lang/msrv/.github/workflows/msrv.yml@main + uses: actions-rust-lang/msrv/.github/workflows/msrv.yml@2e4effc4a4a9437253f7f659990d4ac5ec9c7854 # main test: needs: read_msrv diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index d7b0de5..bd99f3b 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -17,6 +17,8 @@ jobs: name: Coverage steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + persist-credentials: false - name: Install Nix uses: nixbuild/nix-quick-install-action@9f63be77f412a248c9d9a65a4c82cf066cdf8f0c # v35 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index a4c213a..856f916 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -91,3 +91,17 @@ jobs: - name: Audit check run: cargo deny --all-features check advisories + + zizmor: + name: GitHub Actions Security + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + persist-credentials: false + + - uses: zizmorcore/zizmor-action@3dc1ecc9bcb9e94e9b2c709687979e1298497054 # v0.6.2 + with: + advanced-security: false + annotations: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b3a4459..ae1c2b9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,6 +18,7 @@ jobs: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 0 + persist-credentials: false - name: Install Rust uses: actions-rust-lang/setup-rust-toolchain@166cdcfd11aee3cb47222f9ddb555ce30ddb9659 # v1.17.0