mirror of
https://github.com/abap2UI5/abap2UI5.git
synced 2025-04-29 02:58:20 +08:00

Some checks failed
UI5_2X / UI5_2X (push) Has been cancelled
auto_abaplint_fix / auto_abaplint_fix (push) Has been cancelled
auto_downport / auto_downport (push) Has been cancelled
create_app2abap / create_app2abap (push) Has been cancelled
create_frontend / create_frontend (push) Has been cancelled
39 lines
839 B
YAML
39 lines
839 B
YAML
name: auto_downport
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
auto_downport:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 10
|
|
steps:
|
|
- name: Checkout Repository
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Set up Node.js
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: '16'
|
|
|
|
- run: npm ci
|
|
- run: npm run auto_downport
|
|
|
|
- name: Commit Changes
|
|
run: |
|
|
git config --global user.name 'github-actions[bot]'
|
|
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
|
|
git add .
|
|
git commit -m "Downport changes"
|
|
|
|
- name: Switch to Branch 702
|
|
run: git checkout -b 702
|
|
|
|
- name: Push Changes
|
|
uses: ad-m/github-push-action@v0.6.0
|
|
with:
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
branch: 702
|
|
force: true
|