Skip to content

Commit

Permalink
Update GitHub Actions workflows to run only on specific paths (#593)
Browse files Browse the repository at this point in the history
  • Loading branch information
better-salmon committed Jun 21, 2024
1 parent 18e31b4 commit b99daa9
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: Deploy docs to Pages
on:
push:
branches: ['canary']
paths:
- 'docs/cache-handler-docs/**'
- '.github/workflows/deploy-docs.yml'

workflow_dispatch:

Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,22 @@ name: Tests
on:
push:
branches: [canary]
paths:
- 'apps/cache-testing/**'
- 'packages/cache-handler/**'
- 'internal/next-common/**'
- 'internal/next-lru-cache/**'
- 'server/**'
- '.github/workflows/tests.yml'
pull_request:
branches: [canary]
paths:
- 'apps/cache-testing/**'
- 'packages/cache-handler/**'
- 'internal/next-common/**'
- 'internal/next-lru-cache/**'
- 'server/**'
- '.github/workflows/tests.yml'
jobs:
test:
name: 'redis-stack'
Expand Down

0 comments on commit b99daa9

Please sign in to comment.