diff --git a/.github/workflows/desktop-ci.yml b/.github/workflows/desktop-ci.yml index 8821ce2a97..9e87ec18db 100644 --- a/.github/workflows/desktop-ci.yml +++ b/.github/workflows/desktop-ci.yml @@ -7,8 +7,8 @@ on: workflow_dispatch: concurrency: - group: desktop-ci-${{ github.ref }} - cancel-in-progress: true + group: desktop-ci-${{ github.event_name == 'pull_request' && github.ref || github.run_id }} + cancel-in-progress: ${{ github.event_name == 'pull_request' }} jobs: changes: