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