Only cancel previous builds when iterating on pull requests

This commit is contained in:
Sam Lantinga
2022-12-04 09:50:06 -08:00
parent d6327a00fb
commit 39e39f335e
11 changed files with 11 additions and 11 deletions

View File

@@ -3,7 +3,7 @@ name: Build (Emscripten)
on: [push, pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
cancel-in-progress: true
jobs: