diff --git a/.github/workflows/merge-release-to-main.yml b/.github/workflows/merge-release-to-main.yml new file mode 100644 index 000000000..2ac2e134a --- /dev/null +++ b/.github/workflows/merge-release-to-main.yml @@ -0,0 +1,24 @@ +name: Merge Release Into Main + +on: + workflow_dispatch: + push: + branches: + - 'release' + +jobs: + main: + name: Create PR Release to Main + runs-on: ubuntu-latest + steps: + - name: git checkout + uses: actions/checkout@v3 + + - name: create pull request + id: open-pr + uses: repo-sync/pull-request@v2 + with: + github_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} + destination_branch: ${{ github.event.repository.default_branch }} + pr_title: "[Automated] Merge ${{ github.ref_name }} into ${{ github.event.repository.default_branch }}" + pr_body: "Automated Pull Request" diff --git a/pyproject.toml b/pyproject.toml index f1d604bdf..fc03bdd82 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "sotopia" -version = "0.0.9" +version = "0.0.11" description = "A platform for simulating and evaluating social interaction." authors = ["Hao Zhu , Xuhui Zhou "] license = "MIT License" @@ -49,7 +49,7 @@ ruff = "*" pytest = "*" pytest-cov = "*" pytest-asyncio = "*" -mypy = "^1.8.0" +mypy = ">=1.8.0,<1.11.0" [tool.poetry.extras] anthropic = ["anthropic"]