actions-marketplace-validations/Delete old packages
Deletes old package versions
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| user | User hosting the package(s). | no | — |
| organization | Organization hosting the package(s). | no | — |
| names | Names of the packages. | yes | — |
| semver-pattern | Semver range pattern of the versions. | no | — |
| version-pattern | Regex pattern of the versions. Defaults to true for all versions. | no | — |
| keep | Number of versions to exclude from deletions. Defaults to 2. | no | — |
| type | The type of the packages, e.g. "npm" or "container". | no | — |
| token | Token with the necessary scopes to delete and list package versions. Defaults to github.token scoped to the repo running the action. To delete package versions of a package outside the repo the action is running in use a Personal Access Token stored as a secret. | no | ${{ github.token }} |
| dry-run | If the action should only print what it would delete instead of actually deleting. | no | false |
Outputs
no outputs