From ac11dab5d2e93c2f6bafce8bbd7c64ada0d64d06 Mon Sep 17 00:00:00 2001 From: Sorin Sbarnea Date: Wed, 26 May 2021 14:21:56 +0100 Subject: [PATCH] Update default branch references --- .github/workflows/release-drafter.yml | 4 ++-- .github/workflows/tox.yml | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 7d3004a..af12e90 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -4,7 +4,7 @@ on: push: # branches to consider in the event; optional, defaults to all branches: - - master + - main - 'releases/**' - 'stable/**' @@ -12,7 +12,7 @@ jobs: update_release_draft: runs-on: ubuntu-latest steps: - # Drafts your next Release notes as Pull Requests are merged into "master" + # Drafts your next Release notes as Pull Requests are merged into "main" - uses: release-drafter/release-drafter@v5 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index 8a66dcc..cc82446 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -6,7 +6,7 @@ on: - "**" push: # only publishes pushes to the main branch to TestPyPI branches: # any integration branch but not tag - - "master" + - "main" pull_request: release: types: @@ -39,7 +39,8 @@ jobs: - name: py39 tox_env: py39-2.9,py39-2.10,py39-2.11 PREFIX: PYTEST_REQPASS=3 - - tox_env: packaging + - name: packaging + tox_env: packaging steps: - uses: actions/checkout@v1