Skip to content
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
1 change: 0 additions & 1 deletion .github/abaplint/abap_cloud.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
},
{
"url": "https://github.com/abap2UI5/abap2UI5",
"branch": "claude/ui5-samples-ai-demokit-s5n5sg",
"folder": "/abap2UI5",
"files": "/src/**/*.*"
}
Expand Down
31 changes: 15 additions & 16 deletions .github/workflows/generate_overview_apps.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,25 @@
name: generate_overview_apps

# Guards that the two overview apps (get_catalog) are in sync with the folder
# tree: regenerates them and fails on any diff. standard is a protected branch
# (changes only via pull request), so CI cannot push fixes back — contributors
# regenerate the catalogs in their PR instead (see AGENTS.md §4).

on:
pull_request:
push:
branches: [standard]
workflow_dispatch:

permissions:
contents: write
contents: read

concurrency:
group: generate_overview_apps-${{ github.ref }}
cancel-in-progress: true

jobs:
generate_overview_apps:
if: github.ref == 'refs/heads/standard'
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
Expand All @@ -26,19 +35,9 @@ jobs:
- run: npm ci
- run: npm run launchpad

- name: Stamp last run date into README
run: |
STAMP=$(date -u '+%Y-%m-%d %H:%M UTC')
sed -i "s|<!-- last-run -->.*<!-- /last-run -->|<!-- last-run -->$STAMP<!-- /last-run -->|" README.md

- name: Commit and push changes
- name: Verify overview apps are up to date
run: |
git config user.name 'github-actions[bot]'
git config user.email 'github-actions[bot]@users.noreply.github.com'
git add src README.md
if git diff --staged --quiet; then
echo "No changes to commit."
else
git commit -m "Regenerate overview apps"
git push origin HEAD:standard
if ! git diff --exit-code -- src; then
echo "::error::Overview apps are out of date. Run 'npm run launchpad' and commit the result (see AGENTS.md §4)."
exit 1
fi
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ Install this repository and try out over 350 samples. This is the easiest way to

[![generate_overview_apps](https://github.com/abap2UI5/samples/actions/workflows/generate_overview_apps.yaml/badge.svg)](https://github.com/abap2UI5/samples/actions/workflows/generate_overview_apps.yaml)

_generate_overview_apps last run: <!-- last-run -->2026-07-17 08:36 UTC<!-- /last-run -->_

#### Dependencies
* [abap2UI5](https://github.com/abap2UI5/abap2UI5)

Expand Down
1 change: 0 additions & 1 deletion abaplint.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
},
{
"url": "https://github.com/abap2UI5/abap2UI5",
"branch": "claude/ui5-samples-ai-demokit-s5n5sg",
"folder": "/abap2UI5",
"files": "/src/**/*.*"
}
Expand Down