mirror of
https://github.com/mihonapp/mihon.git
synced 2025-10-23 11:38:55 +02:00
Use concurrency to cancel duplicate workflow runs
Docs: https://docs.github.com/en/actions/using-jobs/using-concurrency
This commit is contained in:
4
.github/workflows/build_pull_request.yml
vendored
4
.github/workflows/build_pull_request.yml
vendored
@@ -5,6 +5,10 @@ on:
|
||||
- '**.md'
|
||||
- 'app/src/main/res/**/strings.xml'
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
|
||||
cancel-in-progress: true
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
|
Reference in New Issue
Block a user