Skip to content

Commit

Permalink
feat(workflows): expand path triggers for verifying guides
Browse files Browse the repository at this point in the history
  • Loading branch information
esolitos authored and gitbutler-client committed Sep 17, 2024
1 parent f0ffd1b commit 0952bfc
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/verify-guides-large.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,18 @@ on:
workflow_dispatch: # Allow manual triggering of this workflow.

push:
paths: ["en/tutorials/"]
branches: ["master"]
paths:
- 'en/tutorials/**/*'
- '.github/workflows/verify-guides.yml' # Reusable workflow
- '.github/workflows/verify-guides-large.yml' # This workflow

pull_request:
paths: ["en/tutorials/"] # Enable before merge!
branches: ["master"]
paths:
- 'en/tutorials/**/*'
- '.github/workflows/verify-guides.yml' # Reusable workflow
- '.github/workflows/verify-guides-large.yml' # This workflow

jobs:
large:
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/verify-guides-small.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,23 @@ on:

push:
branches: ["master"]
paths:
- '*.md'
- '*.html'
- '**/*.md'
- '**/*.html'
- '.github/workflows/verify-guides.yml' # Reusable workflow
- '.github/workflows/verify-guides-small.yml' # This workflow

pull_request:
branches: ["master"]
paths:
- '*.md'
- '*.html'
- '**/*.md'
- '**/*.html'
- '.github/workflows/verify-guides.yml' # Reusable workflow
- '.github/workflows/verify-guides-small.yml' # This workflow

jobs:
small:
Expand Down

0 comments on commit 0952bfc

Please sign in to comment.