forgejo-ci: add concurrency
This commit is contained in:
parent
d1c2e61095
commit
85c0ceacb9
1 changed files with 3 additions and 0 deletions
|
@ -12,6 +12,9 @@ jobs:
|
||||||
CI_DEBUG_BUILD: ${{ runner.debug }}
|
CI_DEBUG_BUILD: ${{ runner.debug }}
|
||||||
CI_MERGE_REQUEST_PROJECT_URL: ${{ github.server_url }}/${{ github.repository }}
|
CI_MERGE_REQUEST_PROJECT_URL: ${{ github.server_url }}/${{ github.repository }}
|
||||||
CI_MERGE_REQUEST_TARGET_BRANCH_NAME: ${{ github.base_ref }}
|
CI_MERGE_REQUEST_TARGET_BRANCH_NAME: ${{ github.base_ref }}
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.head_ref || github.ref_name }}
|
||||||
|
cancel-in-progress: true
|
||||||
steps:
|
steps:
|
||||||
- name: Environment setup
|
- name: Environment setup
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in a new issue