Yujia Qiao 4 лет назад
Родитель
Сommit
3124fb9475
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      .github/workflows/rust.yml

+ 2 - 2
.github/workflows/rust.yml

@@ -8,8 +8,8 @@ on:
 
 concurrency:
   # Documentation suggests ${{ github.head_ref }}, but that's only available on pull_request/pull_request_target triggers, so using ${{ github.ref }}.
-  # On master, we want all builds to complete even if merging happens faster to make it easier to discover at which point something broke.
-  group: ${{ github.ref == 'refs/heads/master' && format('ci-master-{0}', github.sha) || format('ci-{0}', github.ref) }}
+  # On main, we want all builds to complete even if merging happens faster to make it easier to discover at which point something broke.
+  group: ${{ github.ref == 'refs/heads/main' && format('ci-main-{0}', github.sha) || format('ci-{0}', github.ref) }}
   cancel-in-progress: true
 
 env: