1
0
mirror of synced 2024-11-23 23:21:03 +01:00

feat(workflow): add sync dev

This commit is contained in:
源文雨 2023-09-22 00:00:06 +09:00
parent 0f34027cca
commit 9aeb950aea
3 changed files with 30 additions and 5 deletions

View File

@ -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
View 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"

View File

@ -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