Unified · Split
| @@ -7,8 +7,8 @@ on: · 6 unmodified lines | ||
| 7 | 7 | - main |
| 8 | 8 | |
| 9 | 9 | concurrency: |
| 10 | − group: ci-${{ github.ref }} | |
| 11 | − cancel-in-progress: true | |
| 10 | + group: ci-${{ github.event_name == 'push' && format('{0}-{1}', github.ref, github.sha) || github.ref }} | |
| 11 | + cancel-in-progress: ${{ github.event_name == 'pull_request' }} | |
| 12 | 12 | |
| 13 | 13 | jobs: |
| 14 | 14 | format: |