Skip to content

Commit 1b55f02

Browse files
committed
ci: run Main on pushes to stage and Integration on PRs into stage
1 parent 4679544 commit 1b55f02

3 files changed

Lines changed: 9 additions & 8 deletions

File tree

‎.github/workflows/integration.yml‎

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,17 @@
22
# INTEGR_TEST_* secrets; where they are unavailable (e.g. forks), the
33
# credential fixtures make the tests skip instead of fail.
44
#
5-
# Runs on every pull request into main, so breaking changes surface before the
6-
# release job (gated separately by required review on the pypi environment)
7-
# ever starts. No push trigger: a push to main is already covered by the PR
8-
# that preceded it, so a second run would add nothing.
5+
# Runs on every pull request into main or stage, so breaking changes surface
6+
# before the release job (gated separately by required review on the pypi
7+
# environment) ever starts. stage collects reviewed pull requests before they
8+
# go to main together. No push trigger: a push to main is already covered by
9+
# the PR that preceded it, so a second run would add nothing.
910

1011
name: Integration
1112

1213
on:
1314
pull_request:
14-
branches: [main]
15+
branches: [main, stage]
1516
workflow_dispatch:
1617

1718
concurrency:

‎.github/workflows/main.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Main
22

33
on:
44
push:
5-
branches: [main]
5+
branches: [main, stage]
66
pull_request:
77
types: [opened, synchronize, reopened, ready_for_review]
88
workflow_dispatch:

‎docs/dev.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ excluded by default:
6666

6767
Integration tests run against a live wiki and need credentials; tests
6868
whose credentials are missing skip instead of fail. CI runs them on every
69-
pull request into `main` (workflow `integration.yml`), so they gate the
70-
release rather than run after it.
69+
pull request into `main` or `stage` (workflow `integration.yml`), so they
70+
gate the release rather than run after it.
7171

7272
=== "make"
7373

0 commit comments

Comments
 (0)