diff --git a/.forgejo/workflows/lint.yml b/.forgejo/workflows/lint.yml index 4b3a546ad7..58dcf99043 100644 --- a/.forgejo/workflows/lint.yml +++ b/.forgejo/workflows/lint.yml @@ -6,6 +6,9 @@ on: - master pull_request: +concurrency: + cancel-in-progress: ${{ forge.event_name == 'pull_request' }} + jobs: lint: name: Pre-Commit diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml index 1ef38d5809..ffd1123f9c 100644 --- a/.forgejo/workflows/test.yml +++ b/.forgejo/workflows/test.yml @@ -6,6 +6,9 @@ on: - master pull_request: +concurrency: + cancel-in-progress: ${{ forge.event_name == 'pull_request' }} + jobs: run_fate: name: Fate (${{ matrix.runner }}, ${{ matrix.shared }}, ${{ matrix.bits }} bit)