From 9aeb950aea52ff258b0af428b26e763ab9c3e168 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BA=90=E6=96=87=E9=9B=A8?= <41315874+fumiama@users.noreply.github.com> Date: Fri, 22 Sep 2023 00:00:06 +0900 Subject: [PATCH] feat(workflow): add sync dev --- .github/workflows/push_format.yml | 9 +++++---- .github/workflows/sync_dev.yml | 24 ++++++++++++++++++++++++ .github/workflows/unitest.yml | 2 +- 3 files changed, 30 insertions(+), 5 deletions(-) create mode 100644 .github/workflows/sync_dev.yml diff --git a/.github/workflows/push_format.yml b/.github/workflows/push_format.yml index a95c3bf..481bc02 100644 --- a/.github/workflows/push_format.yml +++ b/.github/workflows/push_format.yml @@ -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: diff --git a/.github/workflows/sync_dev.yml b/.github/workflows/sync_dev.yml new file mode 100644 index 0000000..436c377 --- /dev/null +++ b/.github/workflows/sync_dev.yml @@ -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" diff --git a/.github/workflows/unitest.yml b/.github/workflows/unitest.yml index 1ab65f6..12b64a3 100644 --- a/.github/workflows/unitest.yml +++ b/.github/workflows/unitest.yml @@ -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