Skip to content
Snippets Groups Projects
Commit b249fa9e authored by Javier Neira 's avatar Javier Neira
Browse files

Use ref instead head_ref to cancelling jobs

parent b8a272a1
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ name: Bootstrap ...@@ -2,7 +2,7 @@ name: Bootstrap
# See: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#concurrency. # See: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#concurrency.
concurrency: concurrency:
group: ${{ github.head_ref }}-${{ github.workflow }} group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true cancel-in-progress: true
on: on:
......
...@@ -2,7 +2,7 @@ name: Linux ...@@ -2,7 +2,7 @@ name: Linux
# See: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#concurrency. # See: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#concurrency.
concurrency: concurrency:
group: ${{ github.head_ref }}-${{ github.workflow }} group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true cancel-in-progress: true
on: on:
......
...@@ -2,7 +2,7 @@ name: MacOS ...@@ -2,7 +2,7 @@ name: MacOS
# See: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#concurrency. # See: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#concurrency.
concurrency: concurrency:
group: ${{ github.head_ref }}-${{ github.workflow }} group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true cancel-in-progress: true
on: on:
......
...@@ -2,7 +2,7 @@ name: Quick jobs ...@@ -2,7 +2,7 @@ name: Quick jobs
# See: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#concurrency. # See: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#concurrency.
concurrency: concurrency:
group: ${{ github.head_ref }}-${{ github.workflow }} group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true cancel-in-progress: true
on: on:
......
...@@ -4,7 +4,7 @@ name: Users guide ...@@ -4,7 +4,7 @@ name: Users guide
# See: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#concurrency. # See: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#concurrency.
concurrency: concurrency:
group: ${{ github.head_ref }}-${{ github.workflow }} group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true cancel-in-progress: true
on: on:
......
...@@ -2,7 +2,7 @@ name: Windows ...@@ -2,7 +2,7 @@ name: Windows
# See: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#concurrency. # See: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#concurrency.
concurrency: concurrency:
group: ${{ github.head_ref }}-${{ github.workflow }} group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true cancel-in-progress: true
on: on:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment