feat(workflow): add sync dev
This commit is contained in:
parent
0f34027cca
commit
9aeb950aea
9
.github/workflows/push_format.yml
vendored
9
.github/workflows/push_format.yml
vendored
@ -6,13 +6,14 @@ on:
|
||||
- main
|
||||
- dev
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
|
||||
jobs:
|
||||
push_format:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
|
24
.github/workflows/sync_dev.yml
vendored
Normal file
24
.github/workflows/sync_dev.yml
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
name: sync dev
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
sync_dev:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
ref: main
|
||||
|
||||
- name: Create Pull Request
|
||||
uses: peter-evans/create-pull-request@v5
|
||||
with:
|
||||
delete-branch: false
|
||||
base: dev
|
||||
title: "chore(sync): merge dev into main"
|
2
.github/workflows/unitest.yml
vendored
2
.github/workflows/unitest.yml
vendored
@ -7,7 +7,7 @@ jobs:
|
||||
matrix:
|
||||
python-version: ["3.8", "3.9", "3.10"]
|
||||
os: [ubuntu-latest]
|
||||
fail-fast: false
|
||||
fail-fast: true
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
|
Loading…
Reference in New Issue
Block a user