mirror of
https://github.com/abap2UI5/abap2UI5.git
synced 2025-04-29 02:58:20 +08:00
Create build_downport_branch
This commit is contained in:
parent
b8cdf10a7e
commit
853bc135af
35
.github/workflows/build_downport_branch
vendored
Normal file
35
.github/workflows/build_downport_branch
vendored
Normal file
|
@ -0,0 +1,35 @@
|
|||
name: build_downport_branch
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
build_downpor_branch:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
ref: 702
|
||||
- run: git clone https://github.com/abap2UI5/abap2UI5-setup.git && cp -r abap2UI5-setup/* . && npm i
|
||||
- run: npm ci
|
||||
- run: npm run downport
|
||||
- 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
|
Loading…
Reference in New Issue
Block a user