From eab7ec523307ba25ab905db437bbbb4687e3b256 Mon Sep 17 00:00:00 2001 From: oblomov-dev <102328295+oblomov-dev@users.noreply.github.com> Date: Sun, 2 Feb 2025 20:55:22 +0100 Subject: [PATCH] Create build_downport_branch.yml --- .github/workflows/build_downport_branch.yml | 38 +++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/workflows/build_downport_branch.yml diff --git a/.github/workflows/build_downport_branch.yml b/.github/workflows/build_downport_branch.yml new file mode 100644 index 0000000..f2d2907 --- /dev/null +++ b/.github/workflows/build_downport_branch.yml @@ -0,0 +1,38 @@ +name: build_downport_branch + +on: + push: + branches: [standard] + +permissions: + contents: read + +jobs: + build_downport_branch: + runs-on: ubuntu-latest + timeout-minutes: 10 + steps: + - name: Checkout Repository + uses: actions/checkout@v3 + with: + ref: 702 + - uses: actions/setup-node@v4 + with: + node-version: 20 + - run: git clone https://github.com/abap2UI5/abap2UI5-setup.git && cp -r abap2UI5-setup/* . && npm i + - run: npm ci + - run: npm run downport_samples + - name: Create Pull Request + id: cpr + uses: peter-evans/create-pull-request@v5 + with: + branch: auto-update + title: "Automatic Update" + commit-message: "Automated changes" + body: "This PR contains automated changes." + labels: "auto-merge" + - name: Enable Pull Request Automerge + uses: peter-evans/enable-pull-request-automerge@v3 + with: + pull-request-number: ${{ steps.cpr.outputs.pull-request-number }} + merge-method: squash