MeterSphere/.github/workflows/create-pr-from-push.yml

21 lines
492 B
YAML
Raw Normal View History

on:
push:
branches:
- 'pr@**'
- 'repr@**'
2021-04-01 09:29:58 +08:00
name: 针对特定分支名自动创建 PR
2021-04-01 09:29:58 +08:00
jobs:
generic_handler:
name: 自动创建 PR
2021-04-01 09:29:58 +08:00
runs-on: ubuntu-latest
steps:
- name: Create pull request
2021-04-01 09:29:58 +08:00
uses: jumpserver/action-generic-handler@master
env:
2022-04-13 16:54:47 +08:00
GITHUB_TOKEN: ${{ secrets.GITHUBTOKEN }}
- uses: actions/checkout@v2
- uses: actions-ecosystem/action-add-labels@v1
with:
labels: ${{ github.base_ref }}