ovsds/Package Lifecycle
Deletes package versions based on a lifecycle policy.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| package-name | Name of the package. | yes | — |
| package-type | Type of the package. Supported values: container. | — | container |
| owner | Owner of the repository. | no | ${{ github.repository_owner }} |
| tag-regex | Regex to match version tags to be considered for deletion. | no | .* |
| untagged | Whether to apply to untagged versions. | no | false |
| expire-period-days | The amount of days that must elapse after the creation of a package version in order for it to be eligible for automatic deletion. | no | 30 |
| retained-tagged-top | The number of package versions (matching the specified tag filter) that must be kept, even if the expire-period has already expired. | no | 1 |
| retain-untagged | Whether to retain untagged versions not older then the oldest retained tagged version. | no | true |
| dry-run | Whether to perform a dry run, without actually deleting any package versions. | no | false |
| github-token | GitHub token to authenticate with the GitHub API, scope: 'packages: write'. | no | ${{ github.token }} |
Outputs
no outputs