소스 검색

ci: run on all branches

It is especially common to run CI on non-main branches in forks. This
shouldn't have any impact on how many CI jobs we run in the main aya
repo if contributors follow a fork-centric workflow.
Tamir Duberstein 2 달 전
부모
커밋
a25e355ba7
2개의 변경된 파일2개의 추가작업 그리고 6개의 파일을 삭제
  1. 1 4
      .github/workflows/ci.yml
  2. 1 2
      .github/workflows/gen.yml

+ 1 - 4
.github/workflows/ci.yml

@@ -2,12 +2,9 @@ name: aya-ci
 
 on:
   push:
-    branches:
-      - main
+    branches-ignore: 'create-pull-request/**'
 
   pull_request:
-    branches:
-      - main
 
   schedule:
     - cron: 00 4 * * *

+ 1 - 2
.github/workflows/gen.yml

@@ -2,8 +2,7 @@ name: codegen
 
 on:
   push:
-    branches:
-      - main
+    branches-ignore: 'create-pull-request/**'
 
   schedule:
     - cron: 00 4 * * *