Skip to content

Commit

Permalink
ci: add labeler for pull requests (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaikoTan authored Mar 22, 2024
1 parent 36527c2 commit 26e7814
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 0 deletions.
52 changes: 52 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
ci:
- changed-files:
- any-glob-to-any-file:
- .github/workflows/*

documentation:
- changed-files:
- any-glob-to-any-file:
- docs/config/zh-CN.json
- docs/zh-CN/*

core:
- changed-files:
- any-glob-to-any-files: packages/core/*

# Sources
'source: danbooru':
- changed-files:
- any-glob-to-any-file: packages/danbooru/*
'source: e621':
- changed-files:
- any-glob-to-any-file: package/e621/*
'source: gelbooru':
- changed-files:
- any-glob-to-any-file: package/gelbooru/*
'source: konachan':
- changed-files:
- any-glob-to-any-file: package/konachan/*
'source: local':
- changed-files:
- any-glob-to-any-file: package/local/*
'source: lolibooru':
- changed-files:
- any-glob-to-any-file: package/lolibooru/*
'source: lolicon':
- changed-files:
- any-glob-to-any-file: package/lolicon/*
'source: moehu':
- changed-files:
- any-glob-to-any-file: package/moehu/*
'source: pixiv':
- changed-files:
- any-glob-to-any-file: package/pixiv/*
'source: safebooru':
- changed-files:
- any-glob-to-any-file: package/safebooru/*
'source: sankaku':
- changed-files:
- any-glob-to-any-file: package/sankaku/*
'source: yandere':
- changed-files:
- any-glob-to-any-file: package/yande/*
12 changes: 12 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: 'Pull Request Labeler'
on:
- pull_request_target

jobs:
labeler:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5

0 comments on commit 26e7814

Please sign in to comment.