Ver Fonte

Only run one workflow for a PR at a time (#5137)

TSRBerry há 3 anos atrás
pai
commit
e3c6be5e29
1 ficheiros alterados com 4 adições e 0 exclusões
  1. 4 0
      .github/workflows/build.yml

+ 4 - 0
.github/workflows/build.yml

@@ -18,6 +18,10 @@ on:
       - '*.yml'
       - 'README.md'
 
+concurrency:
+  group: pr-checks-${{ github.event.number }}
+  cancel-in-progress: true
+
 env:
   POWERSHELL_TELEMETRY_OPTOUT: 1
   DOTNET_CLI_TELEMETRY_OPTOUT: 1