Skip to content

Commit 0bc4478

Browse files
committed
Add documentation, config template and ownership files
- Rewrite README.md: build+licence badges, Overview with Key Features, standard sections (Prerequisites, Downloading, Check dependencies, Building the Sample, Deploying to CICS Liberty JVM server with 3 deployment methods, Running, Troubleshooting, License, Contributing) - Update build commands: clean build (Gradle), clean verify (Maven) - Update prerequisites: CICS TS V6.1+, Java 17+, Jakarta EE 10 - Add CODEOWNERS replacing MAINTAINERS.md (Issue: old convention) - Add etc/config/liberty/server.xml sample config with servlet-6.0, jdbc-4.3, transaction-1.2, T2 and T4 dataSource definitions - Add .github/workflows/cleanup-old-runs.yaml (weekly, 30 day retention)
1 parent b7e936b commit 0bc4478

5 files changed

Lines changed: 295 additions & 159 deletions

File tree

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Cleanup old workflow runs
2+
3+
on:
4+
schedule:
5+
- cron: '0 0 * * 0' # Run weekly on Sunday at midnight UTC
6+
workflow_dispatch: # Allow manual triggering
7+
8+
jobs:
9+
cleanup:
10+
runs-on: ubuntu-latest
11+
permissions:
12+
actions: write
13+
steps:
14+
- name: Delete old workflow runs
15+
uses: Mattraks/delete-workflow-runs@v2
16+
with:
17+
token: ${{ github.token }}
18+
repository: ${{ github.repository }}
19+
retain_days: 30
20+
keep_minimum_runs: 6

CODEOWNERS

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# CODEOWNERS - Defines maintainers for this CICS sample
2+
# Docs: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
3+
# Last reviewed: 2026-08
4+
5+
# For members of the team that maintains Java samples, see https://github.com/orgs/cicsdev/teams/cics-java-maintainers
6+
* @cicsdev/cics-java-maintainers

MAINTAINERS.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)