Skip to content

Commit 841ad50

Browse files
authored
ci: don't run docgen after release mr
1 parent a070a5c commit 841ad50

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/docgen.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
name: docgen
22
on:
33
push:
4+
branches:
5+
- main
6+
- docs
47
pull_request:
5-
workflow_dispatch:
8+
branches:
9+
- main
10+
- docs
611
jobs:
712
docs:
813
runs-on: ubuntu-latest
9-
if: ${{ github.ref == 'refs/heads/main' || github.ref == 'refs/heads/docs' }}
14+
if: ${{ ! contains(github.event.pull_request.head.ref, 'release-please') }}
1015
steps:
1116
- uses: actions/checkout@v3
1217
with:

0 commit comments

Comments
 (0)