mirror of
https://github.com/abap2UI5/abap2UI5.git
synced 2025-04-29 20:36:46 +08:00
update build stringify (#1487)
This commit is contained in:
parent
55df192506
commit
a4e887646f
11
.github/workflows/build_ui5_stringified.yaml
vendored
11
.github/workflows/build_ui5_stringified.yaml
vendored
|
@ -6,6 +6,7 @@ on:
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
pull-requests: write # Berechtigung für Pull-Requests hinzufügen
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build_ui5_stringified:
|
build_ui5_stringified:
|
||||||
|
@ -16,12 +17,20 @@ jobs:
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 20
|
node-version: 20
|
||||||
|
cache: 'npm' # Caching von Node.js-Abhängigkeiten
|
||||||
|
- run: npm install @abaplint/cli -g
|
||||||
- run: |
|
- run: |
|
||||||
node ci/app2string/trans2abap.js
|
node ci/app2string/trans2abap.js
|
||||||
npm install @abaplint/cli -g
|
|
||||||
abaplint --fix ci/app2string/abaplint.jsonc
|
abaplint --fix ci/app2string/abaplint.jsonc
|
||||||
git status
|
git status
|
||||||
|
- 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 'Automatic update by GitHub Actions' || echo "No changes to commit"
|
||||||
- name: Open PR
|
- name: Open PR
|
||||||
uses: peter-evans/create-pull-request@v4
|
uses: peter-evans/create-pull-request@v4
|
||||||
with:
|
with:
|
||||||
title: Automatic Update
|
title: Automatic Update
|
||||||
|
branch: update-branch # Optional: Branchname für den PR
|
Loading…
Reference in New Issue
Block a user