From 5429495d6535a70b24da9b31211e5590b76e8ee6 Mon Sep 17 00:00:00 2001 From: Milad Khajavi Date: Sat, 25 Mar 2023 11:30:49 +0330 Subject: [PATCH] update create-pull-request action. --- .github/workflows/ci.yml | 2 +- zio-sbt-ci/src/main/scala/zio/sbt/ZioSbtCiPlugin.scala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2e074ce1..96f42d49 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -199,7 +199,7 @@ jobs: git add README.md git commit -m "Update README.md" || echo "No changes to commit" - name: Create Pull Request - uses: peter-evans/create-pull-request@v4.2.4 + uses: peter-evans/create-pull-request@v5-beta with: body: |- Autogenerated changes after running the `sbt docs/generateReadme` command of the [zio-sbt-website](https://zio.dev/zio-sbt) plugin. diff --git a/zio-sbt-ci/src/main/scala/zio/sbt/ZioSbtCiPlugin.scala b/zio-sbt-ci/src/main/scala/zio/sbt/ZioSbtCiPlugin.scala index 34e453e8..7f9865f2 100644 --- a/zio-sbt-ci/src/main/scala/zio/sbt/ZioSbtCiPlugin.scala +++ b/zio-sbt-ci/src/main/scala/zio/sbt/ZioSbtCiPlugin.scala @@ -400,7 +400,7 @@ object ZioSbtCiPlugin extends AutoPlugin { ), Step.SingleStep( name = "Create Pull Request", - uses = Some(ActionRef("peter-evans/create-pull-request@v4.2.4")), + uses = Some(ActionRef("peter-evans/create-pull-request@v5-beta")), parameters = Map( "title" -> "Update README.md".asJson, "commit-message" -> "Update README.md".asJson,