Skip to content

update downport #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/abaplint/abap_702.jsonc
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"global": {
"files": "/../../src/**/*.*"
},
"dependencies": [
{
"url": "https://github.com/open-abap/open-abap-core",
"folder": "/deps",
"files": "/src/**/*.*"
}
],
"syntax": {
"version": "v702",
"errorNamespace": "."
},
"rules": {
"downport": true,
"begin_end_names": true,
"check_ddic": true,
"check_include": true,
"check_syntax": true,
"global_class": true,
"implement_methods": true,
"method_implemented_twice": true,
"parser_error": true,
"superclass_final": true,
"unknown_types": true,
"xml_consistency": true
}
}
23 changes: 23 additions & 0 deletions .github/workflows/ABAP_702.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: ABAP_702

on:
push:
branches: [702]

permissions:
contents: read

jobs:
ABAP_702:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
with:
ref: 702
- uses: actions/setup-node@v3
with:
node-version: 20
- run: npm ci
- run: npm run init_downport
- run: npx abaplint .github/abaplint/abap_702.jsonc
40 changes: 40 additions & 0 deletions .github/workflows/auto_downport.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: auto_downport

on:
push:
branches: [standard]

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 init_downport
- run: npm run downport
- run: npm run cleanup_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
Loading