ci: only cancel previous PR runs on Forgejo Actions

This commit is contained in:
Alex Rønne Petersen 2025-11-13 23:00:40 +01:00
parent 071453d5b9
commit cca2da16bd
No known key found for this signature in database

View File

@ -7,7 +7,7 @@ on:
workflow_dispatch:
concurrency:
group: ${{ github.head_ref || github.run_id }}-${{ github.actor }}
cancel-in-progress: true
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
permissions:
contents: read
jobs: