windyakin/Delete Package Versions Keep Latest
Specify the number of versions to keep actions
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| owner | Owner of the repo containing the package version to delete. Defaults to the owner of the repo running the action. | no | — |
| repo | Repo containing the package version to delete. Defaults to the repo running the action. | no | — |
| package-name | Name of the package containing the version to delete. Required if dynamically deleting oldest versions. | no | — |
| keep-latest-package-versions | Number of versions to keep the latest version. Defaults to 10. | no | 10 |
| token | Token with the necessary scopes to delete package versions. If keep-latest-package-versions is used the token also needs the read packages scope. 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 }} |
Outputs
no outputs