diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0105b55f..6617efd8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,11 +4,6 @@ on: push: branches: - main - pull_request: - branches: - - main - types: - - closed permissions: contents: write @@ -21,7 +16,7 @@ jobs: # Squash merges embed individual commit messages in the body, and automated # commits (prerelease bumps, etc.) include [skip ci] — which would incorrectly # suppress the release workflow if we used contains() on the full body. - if: "${{ !startsWith(github.event.head_commit.message, 'chore: version packages for release [skip ci]') }}" + if: "${{ github.event_name == 'push' && !startsWith(github.event.head_commit.message, 'chore: version packages for release [skip ci]') }}" steps: - name: Generate PerAsperaCI token id: app-token @@ -42,7 +37,6 @@ jobs: node-version: 22 registry-url: 'https://registry.npmjs.org' cache: 'pnpm' - provenance: true - run: pnpm install --frozen-lockfile