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