From 6eb0ecceb6c67fad2b9b6434dbf1fb038790ac97 Mon Sep 17 00:00:00 2001 From: Trent Jones Date: Sat, 29 Feb 2020 19:03:48 -0600 Subject: [PATCH] docs --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 973b8b8..fe61303 100644 --- a/README.md +++ b/README.md @@ -79,6 +79,8 @@ Package version ids can be retrieved via the [GitHub GraphQL API][api]. The [token][token] only needs the delete packages scope. It is recommended [to store the token as a secret][secret]. In this example the [token][token] was stored as a secret named __GITHUB_PAT__. +__Example__ + ```yaml - uses: actions/delete-package-versions@v1 with: @@ -94,6 +96,8 @@ To delete multiple specifc versions from a package that is hosted in the same re The __package-version-ids__ input should be a comma separated string of package version ids. Package version ids can be retrieved via the [GitHub GraphQL API][api]. +__Example__ + ```yaml - uses: actions/delete-package-versions@v1 with: @@ -110,6 +114,8 @@ The __package-version-ids__ input should be a comma separated string of package The [token][token] only needs the delete packages scope. It is recommended [to store the token as a secret][secret]. In this example the [token][token] was stored as a secret named __GITHUB_PAT__. +__Example__ + ```yaml - uses: actions/delete-package-versions@v1 with: @@ -123,6 +129,8 @@ The [token][token] only needs the delete packages scope. It is recommended [to s To delete the oldest version from a package that is hosted in the same repo that is executing the workflow the __package-name__ input is required. +__Example__ + ```yaml - uses: actions/delete-package-versions@v1 with: @@ -137,6 +145,8 @@ To delete the oldest version from a package that is hosted in a different repo t The [token][token] needs the delete packages and read packages scope. It is recommended [to store the token as a secret][secret]. In this example the [token][token] was stored as a secret named __GITHUB_PAT__. +__Example__ + ```yaml - uses: actions/delete-package-versions@v1 with: