diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 40f9c52..a008980 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -3,9 +3,6 @@ name: Package checks on: pull_request: paths: ['crates/**', 'Cargo.toml', 'Cargo.lock', 'scripts/**', '.github/workflows/CI.yml', '.github/workflows/publish.yml'] - push: - branches: [main] - paths: ['crates/**', 'Cargo.toml', 'Cargo.lock', 'scripts/**', '.github/workflows/CI.yml', '.github/workflows/publish.yml'] workflow_dispatch: workflow_call: diff --git a/docs/deploy/package-releases.md b/docs/deploy/package-releases.md index 3ac6cbb..dbd147c 100644 --- a/docs/deploy/package-releases.md +++ b/docs/deploy/package-releases.md @@ -1,5 +1,9 @@ # Package releases +`Package checks` runs on relevant pull requests and can be started manually. +It does not run on pushes to `main`. The release workflow calls it again to build +and test the tagged source before publishing. + `Publish packages` runs when a GitHub release is published. Rust tests, five native wheel builds (Linux x86-64/ARM64, macOS Intel/Apple Silicon, Windows x86-64), installed-wheel tests, and a source-archive rebuild must pass before publication.