Browse Source

Force all tests on main branch after testing on separate branch

Guillaume Tardif 5 years ago
parent
commit
6e4f580b99
1 changed files with 3 additions and 3 deletions
  1. 3 3
      .github/workflows/optional-ci.yml

+ 3 - 3
.github/workflows/optional-ci.yml

@@ -3,7 +3,7 @@ name: Continuous integration
 on:
   push:
     branches:
-      - test_optional_ci
+      - main
   pull_request:
 
 jobs:
@@ -37,7 +37,7 @@ jobs:
     env:
       GO111MODULE: "on"
     needs: check-optional-tests
-    if: github.ref == 'refs/heads/test_optional_ci' || needs.check-optional-tests.outputs.trigger-aci == 'true'
+    if: github.ref == 'refs/heads/main' || needs.check-optional-tests.outputs.trigger-aci == 'true'
     steps:
       - name: Set up Go 1.14
         uses: actions/setup-go@v1
@@ -69,7 +69,7 @@ jobs:
     env:
       GO111MODULE: "on"
     needs: check-optional-tests
-    if: github.ref == 'refs/heads/test_optional_ci' || needs.check-optional-tests.outputs.trigger-windows == 'true'
+    if: github.ref == 'refs/heads/main' || needs.check-optional-tests.outputs.trigger-windows == 'true'
     steps:
       - name: Set up Go 1.14
         uses: actions/setup-go@v1