From 514b801745b8c0393bac17b6c0f9555f50df2ab7 Mon Sep 17 00:00:00 2001 From: Nick Sarnie Date: Thu, 14 Nov 2024 17:23:59 +0000 Subject: [PATCH] =?UTF-8?q?Revert=20"[CI]=20Only=20run=20one=20post=20comm?= =?UTF-8?q?it=20job=20on=20a=20push=20to=20a=20pull=20request=20in=20sycl?= =?UTF-8?q?=E2=80=A6"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 80b63a28bad691727c90764e90f60df0d541b23f. --- .github/workflows/sycl-post-commit.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/sycl-post-commit.yml b/.github/workflows/sycl-post-commit.yml index 15c66c8d4bdfa..1abd497a9c97c 100644 --- a/.github/workflows/sycl-post-commit.yml +++ b/.github/workflows/sycl-post-commit.yml @@ -20,11 +20,8 @@ on: - ./devops/actions/cached_checkout concurrency: - # Cancel a currently running workflow from the same PR or commit hash. - # We need to use the user's branch name (which is in different variables - # for pull request events and push events) so that making a PR from a - # sycl-devops-pr branch doesn't cause two postcommit runs. - group: "${{ github.actor }}-${{ github.head_ref || github.ref_name }}" + # Cancel a currently running workflow from the same PR or commit hash. + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} cancel-in-progress: true permissions: read-all