Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restrict chromatic to run only on PR to main #150

Merged
merged 1 commit into from
Sep 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,15 @@
name: 📖 Storybook (via Chromatic)

# Event for the workflow
on: push
on:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pull_request:
branches:
- main

# List of jobs
jobs:
chromatic-deployment:
if: github.actor != 'renovate[bot]'
if: github.repository == 'KaotoIO/kaoto-next' && github.actor != 'renovate[bot]'
# Operating System
runs-on: ubuntu-latest
# Job steps
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-to-gh-pages.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and Deploy to GH pages
name: 🚀 Build and Deploy to GH pages
on:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The most important change 💪

push:
branches:
Expand Down
Loading