Skip to content

Make overview app generation a CI check instead of auto-commit - #685

Merged
oblomov-dev merged 1 commit into
standardfrom
claude/jobs-failing-samples-jqvn9p
Jul 19, 2026
Merged

Make overview app generation a CI check instead of auto-commit#685
oblomov-dev merged 1 commit into
standardfrom
claude/jobs-failing-samples-jqvn9p

Conversation

@oblomov-dev

Copy link
Copy Markdown
Member

Summary

Changes the generate_overview_apps workflow from automatically committing generated files to the standard branch into a CI check that verifies the overview apps are up to date. Contributors must now regenerate and commit the catalogs themselves as part of their pull requests.

Key Changes

  • Workflow trigger: Added pull_request trigger alongside existing push to standard branch
  • Permissions: Reduced from contents: write to contents: read (no longer pushes commits)
  • Job condition: Removed if: github.ref == 'refs/heads/standard' to run on all triggers
  • Concurrency: Added concurrency group to cancel in-progress runs on the same ref
  • Verification step: Replaced commit/push logic with a check that fails if src/ has uncommitted changes after regeneration
  • README: Removed the "last run" timestamp line
  • abaplint config: Removed temporary branch references from both .github/abaplint/abap_cloud.jsonc and abaplint.jsonc

Implementation Details

The workflow now:

  1. Generates the overview apps via npm run launchpad
  2. Checks if src/ has any differences
  3. Fails with a clear error message directing contributors to AGENTS.md §4 if regeneration is needed
  4. Allows the workflow to pass only when catalogs are already up to date

This enforces the protected branch model where standard cannot receive direct commits from CI, ensuring all changes go through pull request review.

https://claude.ai/code/session_01A6f6qCjKEK3syioCzisYqD

…tected branch

- abaplint.jsonc / abap_cloud.jsonc: drop the abap2UI5 dependency pin to
  claude/ui5-samples-ai-demokit-s5n5sg — the branch was merged into main
  and deleted, so every lint job failed cloning it. Fall back to the
  default branch (main), which now contains the merged changes.
- generate_overview_apps: standard is a protected branch (PRs only), so
  the auto-commit push was rejected on every run. Convert the job into a
  guard that regenerates the overview apps and fails on any diff;
  contributors regenerate in their PR per AGENTS.md §4.
- README: remove the last-run stamp the workflow no longer maintains.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01A6f6qCjKEK3syioCzisYqD
@oblomov-dev
oblomov-dev merged commit 2de1f88 into standard Jul 19, 2026
6 checks passed
@oblomov-dev
oblomov-dev deleted the claude/jobs-failing-samples-jqvn9p branch July 19, 2026 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants