CI: cancel currently running workflows on new commits

This commit is contained in:
Mohammad Nejati
2024-07-07 08:21:14 +00:00
committed by Mohammad Nejati
parent a3a800b2e3
commit 6978e37b63
2 changed files with 9 additions and 0 deletions

View File

@@ -2,6 +2,10 @@ name: build
on: [push, pull_request]
concurrency:
group: ${{format('{0}:{1}:{2}', github.repository, github.workflow, github.ref)}}
cancel-in-progress: true
env:
UBSAN_OPTIONS: print_stacktrace=1

View File

@@ -7,6 +7,11 @@ on:
schedule:
- cron: "25 00 * * *"
concurrency:
group: ${{format('{0}:{1}:{2}', github.repository, github.workflow, github.ref)}}
cancel-in-progress: true
jobs:
fuzz:
runs-on: ubuntu-24.04