diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index d888e6c2b..a321c4ec2 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -3,7 +3,7 @@ name: build docs on: push: branches: - - 'master' + - 'main' - 'release/*' tags: - 'v*' @@ -25,7 +25,7 @@ jobs: env: DISPLAY: ':99.0' OS: ${{ matrix.os }} - UPLOAD_TO_GHPAGES: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version == '3.7' && github.event_name == 'push' && github.ref == 'refs/heads/master' }} + UPLOAD_TO_GHPAGES: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version == '3.7' && github.event_name == 'push' && github.ref == 'refs/heads/main' }} steps: - uses: actions/checkout@v3.1.0 with: diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml index 431686fc8..18a773fc4 100644 --- a/.github/workflows/pytest.yaml +++ b/.github/workflows/pytest.yaml @@ -3,7 +3,7 @@ name: Run mypy and pytest on: push: branches: - - 'master' + - 'main' - 'release/*' - 'staging' - 'trying'