Skip to content

Commit

Permalink
Add filter to doc build action for PRs
Browse files Browse the repository at this point in the history
A path filter was applied to pushes, but none was applied to PRs,
causing the GH action to build documentation to fire every time a
PR is opened or updated.

Resolves #1791
  • Loading branch information
WalterKolczynski-NOAA committed Aug 18, 2023
1 parent 17c9d57 commit 1e170e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ on:
- docs/**
pull_request_target:
types: [issues, opened, reopened, synchronize]
paths:
- docs/**

jobs:

Expand Down

0 comments on commit 1e170e6

Please sign in to comment.