1
0
mirror of synced 2024-11-28 01:10:56 +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 - main
- dev - dev
permissions:
contents: write
pull-requests: write
jobs: jobs:
push_format: push_format:
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with: 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: matrix:
python-version: ["3.8", "3.9", "3.10"] python-version: ["3.8", "3.9", "3.10"]
os: [ubuntu-latest] os: [ubuntu-latest]
fail-fast: false fail-fast: true
steps: steps:
- uses: actions/checkout@master - uses: actions/checkout@master