rename the default branch name (#3045)

This commit is contained in:
Massimiliano Pippi 2022-08-16 20:24:58 +02:00 committed by GitHub
parent 2298155a20
commit 2328097ce0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 20 additions and 20 deletions

View File

@ -4,7 +4,7 @@ on:
workflow_dispatch:
push:
branches:
- master
- main
paths:
- ".github/workflows/demo**"
@ -27,7 +27,7 @@ jobs:
- uses: actions/checkout@v2
- name: AWS Authentication
uses: aws-actions/configure-aws-credentials@master
uses: aws-actions/configure-aws-credentials@67fbcbb121271f7775d2e7715933280b06314838
with:
aws-region: ${{ env.AWS_REGION }}
role-to-assume: ${{ secrets.DEMO_AWS_DEPLOY_ROLE }}

View File

@ -4,7 +4,7 @@ on:
workflow_dispatch:
push:
branches:
- master
- main
tags:
- v*

View File

@ -4,7 +4,7 @@ on:
workflow_dispatch: # Activate this workflow manually
push:
branches:
- master
- main
pull_request:
types:
- opened
@ -65,7 +65,7 @@ jobs:
with:
status: ${{ job.status }}
channel: '#haystack'
if: failure() && github.ref == 'refs/heads/master'
if: failure() && github.ref == 'refs/heads/main'
pylint:
runs-on: ubuntu-latest
@ -86,7 +86,7 @@ jobs:
with:
status: ${{ job.status }}
channel: '#haystack'
if: failure() && github.ref == 'refs/heads/master'
if: failure() && github.ref == 'refs/heads/main'
unit-tests:
@ -115,7 +115,7 @@ jobs:
with:
status: ${{ job.status }}
channel: '#haystack'
if: failure() && github.ref == 'refs/heads/master'
if: failure() && github.ref == 'refs/heads/main'
unit-tests-linux:
@ -165,7 +165,7 @@ jobs:
with:
status: ${{ job.status }}
channel: '#haystack'
if: failure() && github.ref == 'refs/heads/master'
if: failure() && github.ref == 'refs/heads/main'
unit-tests-windows:
needs:
@ -213,7 +213,7 @@ jobs:
with:
status: ${{ job.status }}
channel: '#haystack'
if: failure() && github.ref == 'refs/heads/master'
if: failure() && github.ref == 'refs/heads/main'
elasticsearch-tests-linux:
@ -252,7 +252,7 @@ jobs:
with:
status: ${{ job.status }}
channel: '#haystack'
if: failure() && github.ref == 'refs/heads/master'
if: failure() && github.ref == 'refs/heads/main'
elasticsearch-tests-windows:
@ -291,7 +291,7 @@ jobs:
with:
status: ${{ job.status }}
channel: '#haystack'
if: failure() && github.ref == 'refs/heads/master'
if: failure() && github.ref == 'refs/heads/main'
faiss-tests-linux:
@ -324,7 +324,7 @@ jobs:
with:
status: ${{ job.status }}
channel: '#haystack'
if: failure() && github.ref == 'refs/heads/master'
if: failure() && github.ref == 'refs/heads/main'
faiss-tests-windows:
@ -360,7 +360,7 @@ jobs:
with:
status: ${{ job.status }}
channel: '#haystack'
if: failure() && github.ref == 'refs/heads/master'
if: failure() && github.ref == 'refs/heads/main'
milvus-tests-linux:
@ -403,7 +403,7 @@ jobs:
with:
status: ${{ job.status }}
channel: '#haystack'
if: failure() && github.ref == 'refs/heads/master'
if: failure() && github.ref == 'refs/heads/main'
# FIXME: seems like we can't run containers on Windows
@ -482,7 +482,7 @@ jobs:
with:
status: ${{ job.status }}
channel: '#haystack'
if: failure() && github.ref == 'refs/heads/master'
if: failure() && github.ref == 'refs/heads/main'
# FIXME: seems like we can't run containers on Windows
# weaviate-tests-windows:
@ -550,7 +550,7 @@ jobs:
with:
status: ${{ job.status }}
channel: '#haystack'
if: failure() && github.ref == 'refs/heads/master'
if: failure() && github.ref == 'refs/heads/main'
pinecone-tests-windows:
@ -588,7 +588,7 @@ jobs:
with:
status: ${{ job.status }}
channel: '#haystack'
if: failure() && github.ref == 'refs/heads/master'
if: failure() && github.ref == 'refs/heads/main'
rest-and-ui:
needs:
@ -620,7 +620,7 @@ jobs:
with:
status: ${{ job.status }}
channel: '#haystack'
if: failure() && github.ref == 'refs/heads/master'
if: failure() && github.ref == 'refs/heads/main'
integration-tests-linux:
@ -717,7 +717,7 @@ jobs:
with:
status: ${{ job.status }}
channel: '#haystack'
if: failure() && github.ref == 'refs/heads/master'
if: failure() && github.ref == 'refs/heads/main'
integration-tests-windows:
needs:
@ -768,4 +768,4 @@ jobs:
with:
status: ${{ job.status }}
channel: '#haystack'
if: failure() && github.ref == 'refs/heads/master'
if: failure() && github.ref == 'refs/heads/main'