Skip to content

Commit eab7ec5

Browse files
authored
Create build_downport_branch.yml
1 parent 966d7b9 commit eab7ec5

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: build_downport_branch
2+
3+
on:
4+
push:
5+
branches: [standard]
6+
7+
permissions:
8+
contents: read
9+
10+
jobs:
11+
build_downport_branch:
12+
runs-on: ubuntu-latest
13+
timeout-minutes: 10
14+
steps:
15+
- name: Checkout Repository
16+
uses: actions/checkout@v3
17+
with:
18+
ref: 702
19+
- uses: actions/setup-node@v4
20+
with:
21+
node-version: 20
22+
- run: git clone https://github.com/abap2UI5/abap2UI5-setup.git && cp -r abap2UI5-setup/* . && npm i
23+
- run: npm ci
24+
- run: npm run downport_samples
25+
- name: Create Pull Request
26+
id: cpr
27+
uses: peter-evans/create-pull-request@v5
28+
with:
29+
branch: auto-update
30+
title: "Automatic Update"
31+
commit-message: "Automated changes"
32+
body: "This PR contains automated changes."
33+
labels: "auto-merge"
34+
- name: Enable Pull Request Automerge
35+
uses: peter-evans/enable-pull-request-automerge@v3
36+
with:
37+
pull-request-number: ${{ steps.cpr.outputs.pull-request-number }}
38+
merge-method: squash

0 commit comments

Comments
 (0)