diff --git a/.github/workflows/release-v2.9.yml b/.github/workflows/release-v2.9.yml index b80bd8e..07a4ed4 100644 --- a/.github/workflows/release-v2.9.yml +++ b/.github/workflows/release-v2.9.yml @@ -10,6 +10,14 @@ on: - "Cargo.toml" - "doc/releases/v2.9.0.md" - ".github/workflows/release-v2.9.yml" + pull_request: + paths: + - "Cargo.toml" + - "Cargo.lock" + - "crates/marqdo-wasm/Cargo.toml" + - "ext/VERSION" + - "doc/releases/v2.9.0.md" + - ".github/workflows/release-v2.9.yml" workflow_dispatch: permissions: contents: write @@ -19,7 +27,6 @@ concurrency: cancel-in-progress: false jobs: verify-and-dispatch: - if: github.repository == 'cflmy/marqdo' && github.ref == 'refs/heads/main' runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -66,6 +73,7 @@ jobs: cargo test --locked --test executable_knowledge cargo test --locked --test release_handbook - name: Create v2.9.0 only once and dispatch full platform release + if: github.repository == 'cflmy/marqdo' && github.ref == 'refs/heads/main' && github.event_name != 'pull_request' env: GH_TOKEN: ${{ github.token }} run: |