Skip to content

Commit 4e445aa

Browse files
authored
Only render docs on main branch
1 parent 6fa7b9a commit 4e445aa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/render-documentation.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,5 @@ jobs:
2525
with:
2626
source-path: './src'
2727
target-path: './docs/api.md'
28-
fail-on-warnings: true
28+
fail-on-warnings: true
29+
commit: ${{ github.event_name != 'pull_request' }} # Only commit changes if not a PR

0 commit comments

Comments
 (0)