Skip to content

Commit

Permalink
ci: don't run docgen after release mr
Browse files Browse the repository at this point in the history
  • Loading branch information
Robitx authored Jul 23, 2024
1 parent a070a5c commit 841ad50
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/docgen.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
name: docgen
on:
push:
branches:
- main
- docs
pull_request:
workflow_dispatch:
branches:
- main
- docs
jobs:
docs:
runs-on: ubuntu-latest
if: ${{ github.ref == 'refs/heads/main' || github.ref == 'refs/heads/docs' }}
if: ${{ ! contains(github.event.pull_request.head.ref, 'release-please') }}
steps:
- uses: actions/checkout@v3
with:
Expand Down

0 comments on commit 841ad50

Please sign in to comment.