Skip to content

Commit f23d2b0

Browse files
authored
update downport (#1)
1 parent 068095e commit f23d2b0

File tree

3 files changed

+93
-0
lines changed

3 files changed

+93
-0
lines changed

Diff for: .github/abaplint/abap_702.jsonc

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"global": {
3+
"files": "/../../src/**/*.*"
4+
},
5+
"dependencies": [
6+
{
7+
"url": "https://github.com/open-abap/open-abap-core",
8+
"folder": "/deps",
9+
"files": "/src/**/*.*"
10+
}
11+
],
12+
"syntax": {
13+
"version": "v702",
14+
"errorNamespace": "."
15+
},
16+
"rules": {
17+
"downport": true,
18+
"begin_end_names": true,
19+
"check_ddic": true,
20+
"check_include": true,
21+
"check_syntax": true,
22+
"global_class": true,
23+
"implement_methods": true,
24+
"method_implemented_twice": true,
25+
"parser_error": true,
26+
"superclass_final": true,
27+
"unknown_types": true,
28+
"xml_consistency": true
29+
}
30+
}

Diff for: .github/workflows/ABAP_702.yaml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: ABAP_702
2+
3+
on:
4+
push:
5+
branches: [702]
6+
7+
permissions:
8+
contents: read
9+
10+
jobs:
11+
ABAP_702:
12+
runs-on: ubuntu-latest
13+
timeout-minutes: 10
14+
steps:
15+
- uses: actions/checkout@v3
16+
with:
17+
ref: 702
18+
- uses: actions/setup-node@v3
19+
with:
20+
node-version: 20
21+
- run: npm ci
22+
- run: npm run init_downport
23+
- run: npx abaplint .github/abaplint/abap_702.jsonc

Diff for: .github/workflows/auto_downport.yaml

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: auto_downport
2+
3+
on:
4+
push:
5+
branches: [standard]
6+
7+
jobs:
8+
auto_downport:
9+
runs-on: ubuntu-latest
10+
timeout-minutes: 10
11+
steps:
12+
- name: Checkout Repository
13+
uses: actions/checkout@v3
14+
15+
- name: Set up Node.js
16+
uses: actions/setup-node@v3
17+
with:
18+
node-version: '16'
19+
20+
- run: npm ci
21+
- run: npm run init_downport
22+
- run: npm run downport
23+
- run: npm run cleanup_downport
24+
25+
- name: Commit Changes
26+
run: |
27+
git config --global user.name 'github-actions[bot]'
28+
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
29+
git add .
30+
git commit -m "Downport changes"
31+
32+
- name: Switch to Branch 702
33+
run: git checkout -b 702
34+
35+
- name: Push Changes
36+
uses: ad-m/[email protected]
37+
with:
38+
github_token: ${{ secrets.GITHUB_TOKEN }}
39+
branch: 702
40+
force: true

0 commit comments

Comments
 (0)