diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 036f0d6c1..c99890fee 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -10,6 +10,7 @@ on: type: string jobs: run: + if: github.ref == github.event.repository.default_branch uses: ./.github/workflows/ci.yaml secrets: inherit with: diff --git a/docs/contribute/DEV_DOCS.md b/docs/contribute/DEV_DOCS.md index 7ee843bd3..c46542819 100644 --- a/docs/contribute/DEV_DOCS.md +++ b/docs/contribute/DEV_DOCS.md @@ -204,11 +204,10 @@ Versions for this project, Augur, from 3.0.0 onwards aim to follow the 1. Go to [this GitHub Actions workflow](https://github.com/nextstrain/augur/actions/workflows/release.yaml). 2. Select **Run workflow**. In the new menu: - 1. Ensure `master` branch is selected. - 2. In **New version X.X.X**, provide the new version number. - 3. Select **Run workflow**. + 1. In **New version X.X.X**, provide the new version number. + 2. Select **Run workflow**. 3. Ensure workflow runs successfully. - - Ensure the [docker-base CI action triggered by nextstrain-bot](https://github.com/nextstrain/docker-base/actions/workflows/ci.yml?query=branch%3Amaster+actor%3Anextstrain-bot) runs successfully. + - Ensure the [docker-base CI action triggered by nextstrain-bot](https://github.com/nextstrain/docker-base/actions/workflows/ci.yml?query=actor%3Anextstrain-bot) runs successfully. ##### 4. Update on Bioconda