Skip to content

Commit 851fbdc

Browse files
authored
Merge branch 'main' into release-please--branches--main
2 parents fce85b2 + 2f3c4ee commit 851fbdc

File tree

2 files changed

+4
-11
lines changed

2 files changed

+4
-11
lines changed

.github/workflows/build-docs.yml

+4
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,16 @@ name: docs
33
on:
44
workflow_call: {}
55
workflow_dispatch: {}
6+
pull_request:
7+
branches: [ main ]
8+
types: [labeled]
69

710
permissions:
811
contents: write
912

1013
jobs:
1114
build-docs:
15+
if: github.event.label.name == 'docthis'
1216
runs-on: ubuntu-latest
1317
steps:
1418
- uses: actions/checkout@v4

.github/workflows/tests.yml

-11
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,7 @@ on:
77
types: [opened, synchronize, reopened, ready_for_review]
88

99
jobs:
10-
docs:
11-
if: |
12-
github.event.pull_request.draft == false && contains(github.event.pull_request.title, 'chore(main): release')
13-
uses: ./.github/workflows/build-docs.yml
1410
test:
15-
16-
# together this means the test are run after the docs (which create a new commit)
17-
# but don't require the docs to have run, so it also runs on non-release PRs
18-
if: ${{ github.event.pull_request.draft == false && always() }}
19-
needs:
20-
- docs
21-
2211
runs-on: ubuntu-latest
2312
container: riedmiki/gromacs-plumed-python:2023.5-plumed
2413
steps:

0 commit comments

Comments
 (0)