Skip to content

Commit

Permalink
ci: 增加自动生成PR的配置
Browse files Browse the repository at this point in the history
  • Loading branch information
liuruibin committed Aug 12, 2024
1 parent 35d9462 commit b4c8b39
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/create-pr-from-push.yml
Original file line number Diff line number Diff line change
@@ -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 }}

0 comments on commit b4c8b39

Please sign in to comment.