diff --git a/.github/workflows/array-api-det-coverage.yml b/.github/workflows/array-api-det-coverage.yml index e5ab53d1dc8ca..ea913b3b17875 100644 --- a/.github/workflows/array-api-det-coverage.yml +++ b/.github/workflows/array-api-det-coverage.yml @@ -34,4 +34,4 @@ jobs: destination-repository-name: 'Mapping' user-email: rashul.chutani@gmail.com commit-message: Update Array API Tests Mapping - target-branch: master + target-branch: main diff --git a/.github/workflows/array-api-intelligent-tests-pr.yml b/.github/workflows/array-api-intelligent-tests-pr.yml index 252590a4fe473..ceea657f3d05a 100644 --- a/.github/workflows/array-api-intelligent-tests-pr.yml +++ b/.github/workflows/array-api-intelligent-tests-pr.yml @@ -19,7 +19,7 @@ jobs: - name: Determine Tests run: | - git clone -b master https://github.com/unifyai/Mapping.git --depth 1 + git clone -b main https://github.com/unifyai/Mapping.git --depth 1 pip install pydriller cp Mapping/tests.pbz2 ivy/ cd ivy diff --git a/.github/workflows/array-api-intelligent-tests.yml b/.github/workflows/array-api-intelligent-tests.yml index 1b0d404382c3d..604448e4750dd 100644 --- a/.github/workflows/array-api-intelligent-tests.yml +++ b/.github/workflows/array-api-intelligent-tests.yml @@ -29,7 +29,7 @@ jobs: env: SSH_DEPLOY_KEY: ${{ secrets.SSH_DEPLOY_KEY }} run: | - source ./ivy/clone_mapping.sh master + source ./ivy/clone_mapping.sh main pip install pydriller pymongo cp Mapping/tests.pbz2 ivy/ cd ivy @@ -39,7 +39,7 @@ jobs: cd Mapping git add . git commit -m "Update Mapping" - git push origin master + git push origin main continue-on-error: true - name: Run Tests diff --git a/.github/workflows/test-ivy-core.yml b/.github/workflows/test-ivy-core.yml index 1f7acac071dc1..1a9d8a0f77956 100644 --- a/.github/workflows/test-ivy-core.yml +++ b/.github/workflows/test-ivy-core.yml @@ -104,14 +104,14 @@ jobs: continue-on-error: true - name: Install Mongo Python Client - if: (steps.check_file_changed.outputs.changed == 'True' && github.event_name == 'push' && github.ref == 'refs/heads/master') + if: (steps.check_file_changed.outputs.changed == 'True' && github.event_name == 'push' && github.ref == 'refs/heads/main') uses: BSFishy/pip-action@v1 with: packages: | pymongo[srv] - name: Update Database - if: (steps.check_file_changed.outputs.changed == 'True' && github.event_name == 'push' && github.ref == 'refs/heads/master') + if: (steps.check_file_changed.outputs.changed == 'True' && github.event_name == 'push' && github.ref == 'refs/heads/main') env: MONGODB_PASSWORD: ${{ secrets.MONGODB_PASSWORD }} run: | diff --git a/.github/workflows/test-ivy-experimental-core.yml b/.github/workflows/test-ivy-experimental-core.yml index 742527aa8d893..906aa22955f77 100644 --- a/.github/workflows/test-ivy-experimental-core.yml +++ b/.github/workflows/test-ivy-experimental-core.yml @@ -96,13 +96,13 @@ jobs: continue-on-error: true - name: Install Mongo Python Client - if: github.event_name == 'push' && github.ref == 'refs/heads/master' && steps.check_file_changed.outputs.changed == 'True' + if: github.event_name == 'push' && github.ref == 'refs/heads/main' && steps.check_file_changed.outputs.changed == 'True' uses: BSFishy/pip-action@v1 with: packages: | pymongo[srv] - name: Update Database - if: github.event_name == 'push' && github.ref == 'refs/heads/master' && steps.check_file_changed.outputs.changed == 'True' + if: github.event_name == 'push' && github.ref == 'refs/heads/main' && steps.check_file_changed.outputs.changed == 'True' env: MONGODB_PASSWORD: ${{ secrets.MONGODB_PASSWORD }} run: | diff --git a/.github/workflows/test-ivy-experimental-nn.yml b/.github/workflows/test-ivy-experimental-nn.yml index 651655fbefebc..ac9310c096e76 100644 --- a/.github/workflows/test-ivy-experimental-nn.yml +++ b/.github/workflows/test-ivy-experimental-nn.yml @@ -94,13 +94,13 @@ jobs: continue-on-error: true - name: Install Mongo Python Client - if: github.event_name == 'push' && github.ref == 'refs/heads/master' && steps.check_file_changed.outputs.changed == 'True' + if: github.event_name == 'push' && github.ref == 'refs/heads/main' && steps.check_file_changed.outputs.changed == 'True' uses: BSFishy/pip-action@v1 with: packages: | pymongo[srv] - name: Update Database - if: github.event_name == 'push' && github.ref == 'refs/heads/master' && steps.check_file_changed.outputs.changed == 'True' + if: github.event_name == 'push' && github.ref == 'refs/heads/main' && steps.check_file_changed.outputs.changed == 'True' env: MONGODB_PASSWORD: ${{ secrets.MONGODB_PASSWORD }} run: | diff --git a/.github/workflows/test-ivy-nn.yml b/.github/workflows/test-ivy-nn.yml index 7a803b6a91e65..bc6377b74fe74 100644 --- a/.github/workflows/test-ivy-nn.yml +++ b/.github/workflows/test-ivy-nn.yml @@ -101,14 +101,14 @@ jobs: continue-on-error: true - name: Install Mongo Python Client - if: (steps.check_file_changed.outputs.changed == 'True' && github.event_name == 'push' && github.ref == 'refs/heads/master') + if: (steps.check_file_changed.outputs.changed == 'True' && github.event_name == 'push' && github.ref == 'refs/heads/main') uses: BSFishy/pip-action@v1 with: packages: | pymongo[srv] - name: Update Database - if: (steps.check_file_changed.outputs.changed == 'True' && github.event_name == 'push' && github.ref == 'refs/heads/master') + if: (steps.check_file_changed.outputs.changed == 'True' && github.event_name == 'push' && github.ref == 'refs/heads/main') env: MONGODB_PASSWORD: ${{ secrets.MONGODB_PASSWORD }} run: | diff --git a/.github/workflows/test-ivy-stateful.yml b/.github/workflows/test-ivy-stateful.yml index ca4fb0645eddf..b51dbe2a7fabd 100644 --- a/.github/workflows/test-ivy-stateful.yml +++ b/.github/workflows/test-ivy-stateful.yml @@ -103,14 +103,14 @@ jobs: continue-on-error: true - name: Install Mongo Python Client - if: (steps.check_file_changed.outputs.changed == 'True' && github.event_name == 'push' && github.ref == 'refs/heads/master') + if: (steps.check_file_changed.outputs.changed == 'True' && github.event_name == 'push' && github.ref == 'refs/heads/main') uses: BSFishy/pip-action@v1 with: packages: | pymongo[srv] - name: Update Database - if: (steps.check_file_changed.outputs.changed == 'True' && github.event_name == 'push' && github.ref == 'refs/heads/master') + if: (steps.check_file_changed.outputs.changed == 'True' && github.event_name == 'push' && github.ref == 'refs/heads/main') env: MONGODB_PASSWORD: ${{ secrets.MONGODB_PASSWORD }} run: |