diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml index 6efab6e8..dd305a7a 100644 --- a/.github/workflows/audit.yml +++ b/.github/workflows/audit.yml @@ -2,6 +2,10 @@ name: Security audit on: pull_request: + paths: + - "**/Cargo.toml" + - "**/Cargo.lock" + - '**.yml' schedule: # Runs at 00:00 UTC everyday - cron: "0 0 * * *" @@ -9,6 +13,7 @@ on: paths: - "**/Cargo.toml" - "**/Cargo.lock" + - '**.yml' merge_group: types: [checks_requested] diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cfcf6f06..a265d57b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,13 +6,23 @@ concurrency: on: pull_request: - paths-ignore: - - "**/*.md" + paths: + - "**/Cargo.toml" + - "**/Cargo.lock" + - '**.rs' + - '**.snap' + - '**.yml' + - '**.toml' push: branches: - main - paths-ignore: - - "**/*.md" + paths: + - "**/Cargo.toml" + - "**/Cargo.lock" + - '**.rs' + - '**.snap' + - '**.yml' + - '**.toml' schedule: - cron: "0 0 * * 0" merge_group: diff --git a/.github/workflows/coverage.yaml b/.github/workflows/coverage.yaml index 065f3009..90ecde14 100644 --- a/.github/workflows/coverage.yaml +++ b/.github/workflows/coverage.yaml @@ -1,6 +1,15 @@ name: Test Coverage -on: [push] +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + +on: + push: + paths: + - '**.rs' + - '**.snap' + - '**.yml' jobs: test: name: Generate Coverage Report diff --git a/.github/workflows/cross-ci.yml b/.github/workflows/cross-ci.yml index a71bf19c..af0dd337 100644 --- a/.github/workflows/cross-ci.yml +++ b/.github/workflows/cross-ci.yml @@ -1,18 +1,24 @@ name: Cross CI -concurrency: - group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} - cancel-in-progress: true - on: pull_request: - paths-ignore: - - "**/*.md" + paths: + - "**/Cargo.toml" + - "**/Cargo.lock" + - '**.rs' + - '**.snap' + - '**.yml' + - '**.toml' push: branches: - main - paths-ignore: - - "**/*.md" + paths: + - "**/Cargo.toml" + - "**/Cargo.lock" + - '**.rs' + - '**.snap' + - '**.yml' + - '**.toml' merge_group: types: [checks_requested] @@ -20,6 +26,10 @@ defaults: run: shell: bash +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + jobs: cross-check: # Only run if the commit doesn't come from a merged PR, we assume CI is running in the PR as well diff --git a/.github/workflows/lint-docs.yml b/.github/workflows/lint-docs.yml index 67a6d71d..7b27d17a 100644 --- a/.github/workflows/lint-docs.yml +++ b/.github/workflows/lint-docs.yml @@ -2,8 +2,16 @@ name: Lint Markdown / Toml on: pull_request: + paths: + - '**.json' + - '**.toml' + - '**.md' push: branches: [main] + paths: + - '**.json' + - '**.toml' + - '**.md' merge_group: types: [checks_requested] diff --git a/.github/workflows/msrv.yml b/.github/workflows/msrv.yml index 90444324..523a97d6 100644 --- a/.github/workflows/msrv.yml +++ b/.github/workflows/msrv.yml @@ -2,13 +2,17 @@ name: Check MSRV on: pull_request: - paths-ignore: - - "**/*.md" + paths: + - "**/Cargo.toml" + - "**/Cargo.lock" + - '**.yml' push: branches: - main - paths-ignore: - - "**/*.md" + paths: + - "**/Cargo.toml" + - "**/Cargo.lock" + - '**.yml' schedule: - cron: "0 0 * * 0" merge_group: