From 661a976c5dab3314e747697cc7c1f670218cc4ab Mon Sep 17 00:00:00 2001 From: yuri <4427322+yruchin@users.noreply.github.com> Date: Tue, 15 Oct 2024 15:40:24 +0100 Subject: [PATCH] Set up mandatory checks and auto merges --- .github/workflows/update_tdk_version.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update_tdk_version.yml b/.github/workflows/update_tdk_version.yml index 5184f03..74a0868 100644 --- a/.github/workflows/update_tdk_version.yml +++ b/.github/workflows/update_tdk_version.yml @@ -33,7 +33,8 @@ jobs: env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - gh pr create --base main \ + pr=$(gh pr create --base main \ --head "update-release-version-v${RELEASE_VERSION}" \ --title "Update image version to v${RELEASE_VERSION}" \ - --body 'Created by Github action' + --body 'Created by Github action') + gh pr merge $pr --auto