From cebb2927917ec622ef7d1748cb990fd6d740dff8 Mon Sep 17 00:00:00 2001
From: oblomov-dev <102328295+oblomov-dev@users.noreply.github.com>
Date: Wed, 19 Feb 2025 13:18:24 +0000
Subject: [PATCH] update actions
---
.github/workflows/ABAP_CLOUD.yaml | 3 ---
.github/workflows/ABAP_STANDARD.yaml | 3 ---
.github/workflows/auto_abaplint_fix.yaml | 7 +++----
.../{auto_js2abap.yml => auto_app2abap.yml} | 11 +++++------
.github/workflows/mirror_ajson.yaml | 13 +++----------
.github/workflows/mirror_srtti.yaml | 13 +++----------
README.md | 2 +-
7 files changed, 15 insertions(+), 37 deletions(-)
rename .github/workflows/{auto_js2abap.yml => auto_app2abap.yml} (82%)
diff --git a/.github/workflows/ABAP_CLOUD.yaml b/.github/workflows/ABAP_CLOUD.yaml
index 79db2a1a..ae2134dc 100644
--- a/.github/workflows/ABAP_CLOUD.yaml
+++ b/.github/workflows/ABAP_CLOUD.yaml
@@ -2,9 +2,6 @@ name: ABAP_CLOUD
on:
pull_request:
- branches: [main]
- push:
- branches: [main]
permissions:
contents: read
diff --git a/.github/workflows/ABAP_STANDARD.yaml b/.github/workflows/ABAP_STANDARD.yaml
index 21fc4578..bab66324 100644
--- a/.github/workflows/ABAP_STANDARD.yaml
+++ b/.github/workflows/ABAP_STANDARD.yaml
@@ -2,9 +2,6 @@ name: ABAP_STANDARD
on:
pull_request:
- branches: [main]
- push:
- branches: [main]
permissions:
contents: read
diff --git a/.github/workflows/auto_abaplint_fix.yaml b/.github/workflows/auto_abaplint_fix.yaml
index 8f59b9ff..ab529792 100644
--- a/.github/workflows/auto_abaplint_fix.yaml
+++ b/.github/workflows/auto_abaplint_fix.yaml
@@ -1,9 +1,8 @@
name: auto_abaplint_fix
-on:
+
+on:
push:
- branches:
- - "main"
- workflow_dispatch:
+ branches: [main]
jobs:
auto_abaplint_fix:
diff --git a/.github/workflows/auto_js2abap.yml b/.github/workflows/auto_app2abap.yml
similarity index 82%
rename from .github/workflows/auto_js2abap.yml
rename to .github/workflows/auto_app2abap.yml
index 9c6b10ba..950a90a1 100644
--- a/.github/workflows/auto_js2abap.yml
+++ b/.github/workflows/auto_app2abap.yml
@@ -1,12 +1,11 @@
-name: auto_js2abap
-on:
+name: auto_app2abap
+
+on:
push:
- branches:
- - "main"
- workflow_dispatch:
+ branches: [main]
jobs:
- auto_js2abap:
+ auto_app2abap:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
diff --git a/.github/workflows/mirror_ajson.yaml b/.github/workflows/mirror_ajson.yaml
index 92247430..4a6ff62f 100644
--- a/.github/workflows/mirror_ajson.yaml
+++ b/.github/workflows/mirror_ajson.yaml
@@ -30,14 +30,7 @@ jobs:
rm -rf ajson_mirror
git status
- name: Open PR
- uses: peter-evans/create-pull-request@v3
+ uses: peter-evans/create-pull-request@v4
with:
- title: ajson, Automatic Update
- branch: automatic/ajson
- body: |
- Automatic update from mirror
- https://github.com/abap2UI5/ajson_mirror
-
- Make manual change to trigger CI
-
- Note: manual changes might be overwritten when the branch updates, so keep changes small, and merge fast
\ No newline at end of file
+ title: mirror-ajson-update
+ branch: mirror-ajson-update
\ No newline at end of file
diff --git a/.github/workflows/mirror_srtti.yaml b/.github/workflows/mirror_srtti.yaml
index 60367094..ee56e4b8 100644
--- a/.github/workflows/mirror_srtti.yaml
+++ b/.github/workflows/mirror_srtti.yaml
@@ -30,14 +30,7 @@ jobs:
rm -rf srtti_mirror
git status
- name: Open PR
- uses: peter-evans/create-pull-request@v3
+ uses: peter-evans/create-pull-request@v4
with:
- title: ajson, Automatic Update
- branch: automatic/ajson
- body: |
- Automatic update from mirror
- https://github.com/abap2UI5/ajson_mirror
-
- Make manual change to trigger CI
-
- Note: manual changes might be overwritten when the branch updates, so keep changes small, and merge fast
+ title: mirror-srtti-update
+ branch: mirror-srtti-update
\ No newline at end of file
diff --git a/README.md b/README.md
index c7d97ff8..e4dbe53c 100644
--- a/README.md
+++ b/README.md
@@ -4,7 +4,7 @@
[](https://github.com/abap2UI5/abap2UI5/actions/workflows/UI5.yml)
[](https://github.com/abap2UI5/abap2UI5/actions/workflows/auto_downport.yaml)
-[](https://github.com/abap2UI5/abap2UI5/actions/workflows/auto_js2abap.yml)
+[](https://github.com/abap2UI5/abap2UI5/actions/workflows/auto_app2abap.yml)
[](https://github.com/abap2UI5/abap2UI5/actions/workflows/auto_frontend.yaml)
[](https://github.com/abap2UI5/abap2UI5/actions/workflows/auto_abaplint_fix.yaml)