Skip to content

Commit

Permalink
Change main to master github workflow (#21999)
Browse files Browse the repository at this point in the history
  • Loading branch information
NripeshN authored Aug 16, 2023
1 parent da64c11 commit 84aece8
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/array-api-det-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ jobs:
destination-repository-name: 'Mapping'
user-email: [email protected]
commit-message: Update Array API Tests Mapping
target-branch: master
target-branch: main
2 changes: 1 addition & 1 deletion .github/workflows/array-api-intelligent-tests-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/array-api-intelligent-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-ivy-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-ivy-experimental-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-ivy-experimental-nn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-ivy-nn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-ivy-stateful.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 84aece8

Please sign in to comment.