From a06bdb58a64b97fcee6b04daab0989e52dd39fde Mon Sep 17 00:00:00 2001 From: Antony Date: Tue, 14 Nov 2023 11:03:20 +0530 Subject: [PATCH] CI: A Git workflow has been added to automatically update the cli-use branch when new commits are made to the main branch. --- .github/workflows/cli-branch-update.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/cli-branch-update.yml diff --git a/.github/workflows/cli-branch-update.yml b/.github/workflows/cli-branch-update.yml new file mode 100644 index 0000000..4873c39 --- /dev/null +++ b/.github/workflows/cli-branch-update.yml @@ -0,0 +1,23 @@ +name: Create a pull request for updating the cli-use branch +on: + push: + branches: + - master +jobs: + cliUsePromotion: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + ref: cli-use + - name: Reset promotion branch + run: | + git fetch origin master:master + git reset --hard master + - name: Create Pull Request + uses: peter-evans/create-pull-request@v5 + with: + branch: cli-use-promotion + title: 'Update CLI Usage: Merging Changes from master to cli-use' + body: This pull request includes various updates and changes from the `master` branch to the `cli-use` branch. Review and merge as needed. + reviewers: antonyagustine, netrajpatel, shafeeqd959, surajcontentstack, Amitkanswal, abhishek305 \ No newline at end of file