Skip to content

gemini-testing/gh-actions-reports-ttl-cleaner

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Logo

A GitHub Action to automatically clean up old Testplane HTML reports stored on the `gh-pages` branch of your repository.

Features

  • 🗑️ Deletes Testplane reports older than a specified time-to-live (TTL)
  • ⚙️ Configurable TTL (default: 90 days)
  • 📂 Customizable report directory paths

Usage

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

Inputs

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)

Documentation

For complete setup instructions see the official documentation.

About

Testplane github pages old reports remover

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •