ci: 增加自动生成PR的配置
This commit is contained in:
parent
35d9462689
commit
b4c8b39e8e
17
.github/workflows/create-pr-from-push.yml
vendored
Normal file
17
.github/workflows/create-pr-from-push.yml
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'pr@**'
|
||||
- 'repr@**'
|
||||
|
||||
name: 针对特定分支名自动创建 PR
|
||||
|
||||
jobs:
|
||||
generic_handler:
|
||||
name: 自动创建 PR
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Create pull request
|
||||
uses: jumpserver/action-generic-handler@master
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||
Loading…
Reference in New Issue
Block a user