Просмотр исходного кода

ci: run checks on all branches

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

+ 1 - 5
.github/workflows/rust.yml

@@ -1,10 +1,6 @@
 name: Rust
 name: Rust
 
 
-on:
-  push:
-    branches: [main]
-  pull_request:
-    branches: [main]
+on: [push, pull_request]
 
 
 concurrency:
 concurrency:
   # Documentation suggests ${{ github.head_ref }}, but that's only available on pull_request/pull_request_target triggers, so using ${{ github.ref }}.
   # Documentation suggests ${{ github.head_ref }}, but that's only available on pull_request/pull_request_target triggers, so using ${{ github.ref }}.