mirror of
https://github.com/System-End/github-readme-stats.git
synced 2026-04-19 19:55:16 +00:00
ci: change theme-preview action run condition (#1903)
This commit makes sure that the theme-preview action only runs when a theme was added or changed.
This commit is contained in:
parent
f9b9015ec2
commit
40735124ed
1 changed files with 3 additions and 1 deletions
4
.github/workflows/preview-theme.yml
vendored
4
.github/workflows/preview-theme.yml
vendored
|
|
@ -5,8 +5,10 @@ on:
|
|||
types: [opened, synchronize, reopened]
|
||||
branches:
|
||||
- master
|
||||
- theme-preview-script
|
||||
- theme_preview_script
|
||||
paths:
|
||||
- "themes/index.js"
|
||||
- "scripts/preview-theme.js"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue