mirror of
https://github.com/deepset-ai/haystack.git
synced 2026-01-07 20:46:31 +00:00
rename the default branch name (#3045)
This commit is contained in:
parent
2298155a20
commit
2328097ce0
4
.github/workflows/demo.yaml
vendored
4
.github/workflows/demo.yaml
vendored
@ -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 }}
|
||||
|
||||
2
.github/workflows/docker_build.yml
vendored
2
.github/workflows/docker_build.yml
vendored
@ -4,7 +4,7 @@ on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
tags:
|
||||
- v*
|
||||
|
||||
|
||||
34
.github/workflows/tests.yml
vendored
34
.github/workflows/tests.yml
vendored
@ -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'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user