ci: avoid github.run_id in concurrency.group

https://codeberg.org/Codeberg/Community/issues/2318
This commit is contained in:
Alex Rønne Petersen 2026-01-19 06:14:21 +01:00
parent 27e8d05ee8
commit 4e99f095ae
No known key found for this signature in database

View file

@ -10,7 +10,7 @@ on:
# This cancels older workflow runs on pull requests while ensuring that there
# are no concurrency limits on pushes and manual workflow dispatches.
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
permissions: