This commit is contained in:
Trent Jones
2020-02-29 16:32:10 -06:00
parent 490022b056
commit b545ae5120
+6 -6
View File
@@ -18,33 +18,33 @@ This action deletes versions of a package from [GitHub Packages](https://github.
with: with:
# Can be a single package version id, or a comma separated list of package version ids. # Can be a single package version id, or a comma separated list of package version ids.
# Defaults to an empty string. # Defaults to an empty string.
package-version-ids: package-version-ids: ''
# Owner of the repo hosting the package. # Owner of the repo hosting the package.
# Defaults to the owner of the repo executing the workflow. # Defaults to the owner of the repo executing the workflow.
# Required if deleting a version from a package hosted in a different repo than the one executing the workflow. # Required if deleting a version from a package hosted in a different repo than the one executing the workflow.
owner: owner: ''
# Repo hosting the package. # Repo hosting the package.
# Defaults to the repo executing the workflow. # Defaults to the repo executing the workflow.
# Required if deleting a version from a package hosted in a different repo than the one executing the workflow. # Required if deleting a version from a package hosted in a different repo than the one executing the workflow.
repo: repo: ''
# Name of the package. # Name of the package.
# Defaults to an empty string. # Defaults to an empty string.
# Required if `package-version-ids` input is not given. # Required if `package-version-ids` input is not given.
package-name: package-name: ''
# The number of old versions to delete starting from the oldest version. # The number of old versions to delete starting from the oldest version.
# Defaults to 1. # Defaults to 1.
num-old-versions-to-delete: num-old-versions-to-delete: ''
# The token used to authenticate with GitHub Packages. # The token used to authenticate with GitHub Packages.
# Defaults to github.token. # Defaults to github.token.
# Required if deleting a version from a package hosted in a different repo than the one executing the workflow. # Required if deleting a version from a package hosted in a different repo than the one executing the workflow.
# If `package-version-ids` is given the token only needs the delete packages scope. # If `package-version-ids` is given the token only needs the delete packages scope.
# If `package-version-ids` is not given the token needs the delete packages scope and the read packages scope # If `package-version-ids` is not given the token needs the delete packages scope and the read packages scope
token: token: ''
``` ```