From 0a96cb7ba66a1b9fc9a237ef51aaf06f928a1ca0 Mon Sep 17 00:00:00 2001 From: git-elliot Date: Wed, 30 Aug 2023 15:35:17 +0530 Subject: [PATCH] Fixing workflow concurrency for non-PR runs --- .github/workflows/dart.yml | 2 +- .github/workflows/flutter.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index 0e05127..82b6e4c 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -14,7 +14,7 @@ on: paths: ['network_tools/**'] concurrency: - group: ${{ github.head_ref }} + group: ${{ github.head_ref || github.run_id }} cancel-in-progress: true jobs: diff --git a/.github/workflows/flutter.yml b/.github/workflows/flutter.yml index 67e1602..c21c944 100644 --- a/.github/workflows/flutter.yml +++ b/.github/workflows/flutter.yml @@ -14,7 +14,7 @@ on: paths: ['network_tools_flutter/**'] concurrency: - group: ${{ github.head_ref }} + group: ${{ github.head_ref || github.run_id }} cancel-in-progress: true jobs: