Explorar el Código

github: Run the CI jobs on PR

The default branch has been renamed to main. Thus, the GH workflows have
to be changed as well.
Claudiu Belu hace 1 día
padre
commit
3006adbc69
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1 1
      .github/workflows/integration-tests.yml
  2. 1 1
      .github/workflows/unit-tests.yml

+ 1 - 1
.github/workflows/integration-tests.yml

@@ -3,7 +3,7 @@ name: Coriolis Integration Tests
 on:
 on:
   workflow_dispatch:
   workflow_dispatch:
   pull_request:
   pull_request:
-    branches: [ "master" ]
+    branches: [ "main" ]
 
 
 permissions:
 permissions:
   contents: read
   contents: read

+ 1 - 1
.github/workflows/unit-tests.yml

@@ -3,7 +3,7 @@ name: Coriolis Unit Tests
 on:
 on:
   workflow_dispatch:
   workflow_dispatch:
   pull_request:
   pull_request:
-    branches: [ "master" ]
+    branches: [ "main" ]
 
 
 permissions:
 permissions:
   contents: read
   contents: read