Releases/v1 (#1)
* delete package versions action v1 * updated action for build and smoke test * test and error message update * test fix * ci testing * ci testing * ci testing * ci testing * ci test * ci testing * ci test name * docs * docs * docs * test * test * test * docs * usage doc * doc * docs * format test * doc update * doc test * formatting check * scenario update * usage update * format * test * test * test * test * test * table test * test * format update * links * test * test * test * test * test * docs update * test * formatting * fix broken links * doc update * test * table test * test * test * test * test * test * test * test * test * test * test * doc test * test * test * test * test * test * test * test t * test * test * test * test * test * test * docs * doc update
This commit is contained in:
+46
-8
@@ -1,10 +1,48 @@
|
||||
name: 'Your name here'
|
||||
description: 'Provide a description here'
|
||||
author: 'Your name or organization here'
|
||||
|
||||
name: Delete Package Versions
|
||||
|
||||
description: Deletes package versions
|
||||
|
||||
inputs:
|
||||
myInput: # change this
|
||||
description: 'input description here'
|
||||
default: 'default value if applicable'
|
||||
|
||||
package-version-ids:
|
||||
description: Comma separated string of package version ids to delete.
|
||||
required: false
|
||||
|
||||
owner:
|
||||
description: >
|
||||
Owner of the repo containing the package version to delete.
|
||||
Defaults to the owner of the repo running the action.
|
||||
required: false
|
||||
|
||||
repo:
|
||||
description: >
|
||||
Repo containing the package version to delete.
|
||||
Defaults to the repo running the action.
|
||||
required: false
|
||||
|
||||
package-name:
|
||||
description: >
|
||||
Name of the package containing the version to delete.
|
||||
Required if dynamically deleting oldest versions.
|
||||
required: false
|
||||
|
||||
num-old-versions-to-delete:
|
||||
description: >
|
||||
Number of versions to delete starting with the oldest version.
|
||||
Defaults to 1.
|
||||
required: false
|
||||
default: "1"
|
||||
|
||||
token:
|
||||
description: >
|
||||
Token with the necessary scopes to delete package versions.
|
||||
If num-old-versions-to-delete 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.
|
||||
required: false
|
||||
default: ${{ github.token }}
|
||||
|
||||
runs:
|
||||
using: 'node12'
|
||||
main: 'dist/index.js'
|
||||
using: node12
|
||||
main: dist/index.js
|
||||
|
||||
Reference in New Issue
Block a user