ci: set concurrency in pull request checks

If a PR is synchronized while a previous running check is still running, the previous jobs will be cancelled, leaving only the new checks running

This is will avoid wasting CI resources and faster checks (as having multiple jobs running can increase the job queue)
This commit is contained in:
Fernando Fernández 2022-11-13 12:41:15 +01:00
parent b265402cf9
commit 60ccaeff40

View File

@ -1,5 +1,9 @@
name: Quality Checks 👌🧪
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
on:
pull_request:
branches: