Skip to content

Commit 0e8c3c3

Browse files
committed
feat: use yuki-no plugins systems & @yuki-no/plugin-batch-pr
1 parent 9eb9f7f commit 0e8c3c3

File tree

1 file changed

+12
-20
lines changed

1 file changed

+12
-20
lines changed

.github/workflows/sync.yml

Lines changed: 12 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,39 +3,31 @@ name: yuki-no
33
on:
44
schedule:
55
- cron: "0 * * * *" # Every hour
6-
workflow_dispatch: # Manual trigger (Optional)
6+
workflow_dispatch: # Manual trigger
77

88
permissions:
9-
contents: read
9+
contents: write
1010
issues: write
1111
actions: read
12+
pull-requests: write
1213

1314
jobs:
1415
yuki-no:
1516
runs-on: ubuntu-latest
1617
steps:
18+
# https://github.com/Gumball12/yuki-no/
1719
- uses: Gumball12/yuki-no@wip
20+
env:
21+
YUKI_NO_BATCH_PR_ROOT_DIR: docs
22+
YUKI_NO_BATCH_PR_EXCLUDE: |
23+
**/guide/migration*.md
24+
**/package.json
1825
with:
19-
# GitHub access token. Required.
2026
access-token: ${{ secrets.GITHUB_TOKEN }}
21-
22-
# The head repo to track. This is the repository you want to
23-
# take a diff. Required.
2427
head-repo: https://github.com/vitejs/vite.git
25-
26-
# The git commit sha of head repo to start tracking. Yuki-no will
27-
# only track commit from this hash. Required.
2828
track-from: 14027b0f2a9b01c14815c38aab22baf5b29594bb
29-
30-
# List of file patterns to track. Multiple patterns can be specified
31-
# with newlines. Files matching these glob patterns will be included
32-
# in tracking.
33-
# If empty, all files will be tracked. Optional.
3429
include: |
3530
docs/**
36-
37-
# Whether to enable release tracking.
38-
# When enabled, Yuki-no will track releases for each issue
39-
# and add comments about release status. Optional.
40-
# Defaults to 'false'
41-
release-tracking: true
31+
plugins: |
32+
@yuki-no/plugin-release-tracking@latest
33+
@yuki-no/plugin-batch-pr@latest

0 commit comments

Comments
 (0)