A GitHub Action to automatically clean up old Testplane HTML reports stored on the `gh-pages` branch of your repository.
- 🗑️ Deletes Testplane reports older than a specified time-to-live (TTL)
- ⚙️ Configurable TTL (default: 90 days)
- 📂 Customizable report directory paths
Add this action to your workflow to regularly clean up old reports. Example configuration:
- name: Clean old reports
uses: gemini-testing/gh-actions-reports-ttl-cleaner@v1
with:
html-report-prefix: 'my-reports-dir' # Optional
ttl: '30' # Optional (days)
user-name: 'report-cleaner' # Optional
user-email: 'cleaner@example.com' # Optional
Parameter | Description | Default |
---|---|---|
html-report-prefix |
Path prefix for Testplane reports | testplane-reports |
ttl |
Time-to-live for reports in days | 90 |
user-name |
Git commit author name | gh-actions-reports-ttl-cleaner |
user-email |
Git commit author email | (empty) |
For complete setup instructions see the official documentation.