mirror of
https://github.com/anuraghazra/github-readme-stats.git
synced 2024-12-21 06:11:29 +08: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
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…
Reference in New Issue
Block a user