mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
chore: add labeler (#10285)
This commit is contained in:
@@ -17,6 +17,8 @@ Please include route starts with /, with all required and optional parameters. F
|
||||
```route
|
||||
/some/route
|
||||
/some/other/route
|
||||
/dont/use/this/or/modify/it
|
||||
/use/the/fenced/code/block/below
|
||||
```
|
||||
如果你的 PR 与路由无关, 请在 `routes` 区域 填写 `NOROUTE`,而不是直接删除 `routes` 区域。否则你的 PR 将会被无条件关闭。
|
||||
If your changes are not related to route, please fill in `routes` with `NOROUTE`. Fail to comply will result in your PR being closed.
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
'Route: v1':
|
||||
- any: ['lib/routes/**/*.js', '!lib/routes/index.js']
|
||||
|
||||
'Route: v2':
|
||||
- 'lib/v2/**/*.js'
|
||||
|
||||
core enhancement:
|
||||
- lib/routes/index.js
|
||||
- any: ['lib/**', '!lib/routes/**', '!lib/v2/**/*.js']
|
||||
|
||||
dependencies:
|
||||
- yarn.lock
|
||||
@@ -42,3 +42,14 @@ jobs:
|
||||
ignoreLabels: |
|
||||
dependencies
|
||||
wip: true
|
||||
labeler:
|
||||
name: Pull Request Labeler
|
||||
if: ${{ github.event_name == 'pull_request_target' }}
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: write
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/labeler@v4
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
@@ -122,3 +122,16 @@ jobs:
|
||||
- run: yarn
|
||||
- name: Build radar and maintainer
|
||||
run: npm run build:all
|
||||
|
||||
automerge:
|
||||
if: github.actor == 'dependabot[bot]' && github.event_name == 'pull_request'
|
||||
needs: [ jest, puppeteer, docs, all ]
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
pull-requests: write
|
||||
contents: write
|
||||
steps:
|
||||
- uses: fastify/github-action-merge-dependabot@v3
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
target: patch
|
||||
|
||||
Reference in New Issue
Block a user