Skip to content

Commit

Permalink
Merge pull request #1611 from DSD-DBS/storybook-only-on-frontend-changes
Browse files Browse the repository at this point in the history
ci: Run Storybook only on frontend changes
  • Loading branch information
MoritzWeber0 authored Jun 6, 2024
2 parents e1d730c + 9336702 commit ad73fe4
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,22 @@ name: 'Storybook'

on:
pull_request:
branches: ["**"]
branches: ['**']
paths:
- 'frontend/**'
- '.github/workflows/storybook.yml'
push:
branches: ["main"]
branches: ['main']
paths:
- 'frontend/**'
- '.github/workflows/storybook.yml'

jobs:
chromatic:
runs-on: ubuntu-latest
if: github.actor != 'dependabot[bot]'
concurrency:
# prettier-ignore
group: chromatic-${{ github.event_name }}-${{ github.event.pull_request.number }}
cancel-in-progress: true
steps:
Expand Down

0 comments on commit ad73fe4

Please sign in to comment.