diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bccf1a4..e2f1a83 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ permissions: contents: read concurrency: - group: ci-${{ github.ref }} + group: ${{ github.event_name == 'pull_request' && format('{0}-{1}', github.workflow, github.head_ref) || github.run_id }} cancel-in-progress: ${{ github.event_name == 'pull_request' }} jobs: