abrkn/Delete old GitHub package versions
Delete GitHub package versions older than a specified age
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Aug 13, 2021
- License
- MIT
- Runtime
- Deprecated runtime
Pinned Snippet
uses: abrkn/delete-old-github-package-versions@809ab8bca6a01663b74af38ea191550a524f8a24 # v1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| token | Github token. You cannot use the inbuilt GITHUB_TOKEN. See https://help.github.com/en/packages/publishing-and-managing-packages/about-github-packages#about-tokens | yes | — |
| owner | Owner. Defaults to current actor | no | — |
| repo | Repository. Defaults to current repo | no | — |
| packageName | GitHub Package name | yes | — |
| minAge | Minimum package age in human readable. Defaults to 1 week. Example "2d" for 2 days. See https://www.npmjs.com/package/parse-duration for format. | no | — |
Outputs
| name | description |
|---|---|
| deleted | Comma separated list of deleted package versions. Example: "abrkn/test/my-package:some-tag,abrkn/other-repo/some-package:<null>". <null> is used when there is no version name. |