Skip to content

Commit ec3aaf4

Browse files
committed
fix: try different ci triggers
1 parent c2b68c9 commit ec3aaf4

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/build-docs.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
name: docs
22

33
on:
4-
workflow_call: {}
5-
workflow_dispatch: {}
64
pull_request:
75
branches: [ main ]
8-
types: [labeled]
6+
types: [opened, synchronize, reopened, ready_for_review]
97

108
permissions:
119
contents: write
1210

1311
jobs:
1412
build-docs:
15-
if: github.event.label.name == 'docthis'
13+
if: |
14+
contains(github.event.pull_request.title, 'chore(main): release') && github.event.pull_request.draft == false
1615
runs-on: ubuntu-latest
1716
steps:
1817
- uses: actions/checkout@v4

.github/workflows/tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
workflow_dispatch:
55
pull_request:
66
branches: [ main ]
7-
types: [opened, synchronize, reopened, ready_for_review]
7+
types: [ready_for_review]
88

99
jobs:
1010
test:

0 commit comments

Comments
 (0)