From 7056950056e77ed704f52b05fdb198459a526e52 Mon Sep 17 00:00:00 2001 From: axel7083 <42176370+axel7083@users.noreply.github.com> Date: Fri, 20 Sep 2024 14:07:39 +0200 Subject: [PATCH] chore(ci): adding concurrency option to pr-check Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com> --- .github/workflows/pr-check.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr-check.yaml b/.github/workflows/pr-check.yaml index 012596356657c..d9faded6e9b52 100644 --- a/.github/workflows/pr-check.yaml +++ b/.github/workflows/pr-check.yaml @@ -17,10 +17,14 @@ name: pr-check -on: +on: pull_request: types: [labeled, synchronize, opened, reopened] +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: windows: name: Windows @@ -337,7 +341,7 @@ jobs: with: fetch-depth: 2 - - name: Evaluate changes in files + - name: Evaluate changes in files id: pnpm_changed run: | git fetch origin ${{ github.event.pull_request.base.ref }} @@ -411,7 +415,7 @@ jobs: always() steps: - name: Evaluate the Windows Update test results - run: | + run: | echo "Windows updater result: ${{ needs.run-update-e2e-test.result }}" if [ "${{ needs.run-update-e2e-test.result }}" = "failure" ]; then echo "Windows udpater test failed..."