From 3b37c89d881e5f5a290158f4528261876f589026 Mon Sep 17 00:00:00 2001 From: Reinier van der Leer Date: Mon, 17 Apr 2023 19:15:20 +0200 Subject: [PATCH] fix(pr-label): concurrency group cannot be empty --- .github/workflows/pr-label.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-label.yml b/.github/workflows/pr-label.yml index a9114131..92c5a66b 100644 --- a/.github/workflows/pr-label.yml +++ b/.github/workflows/pr-label.yml @@ -8,8 +8,8 @@ on: pull_request_target: types: [opened, synchronize] concurrency: - group: ${{ github.event_name == 'pull_request_target' && format('pr-label-{0}', github.event.pull_request.number) || '' }} - cancel-in-progress: ${{ github.event_name == 'pull_request_target' || '' }} + group: ${{ format('pr-label-{0}', github.event.pull_request.number || github.sha) }} + cancel-in-progress: true jobs: conflicts: