Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
rubengees committed Nov 18, 2021
1 parent ac71b18 commit 775a023
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Delete old packages

Github action for deleting old versions of packages in the Github package registry.
GitHub action for deleting old versions of packages in the GitHub package registry.

This is very similar to [actions/delete-package-versions](https://github.com/actions/delete-package-versions)
but targets a different use case.
Expand All @@ -14,16 +14,16 @@ table below) on them and then deleting the matching versions.

| Name | Description | Required | Default |
| ----------------- | ---------------------------------------------------------- | ------------------ | ------------- |
| `owner` | Owner of the repo containing the package(s) | :x: | Set by Github |
| `repo` | Repo containing the package(s) | :x: | Set by Github |
| `owner` | Owner of the repo containing the package(s) | :x: | Set by GitHub |
| `repo` | Repo containing the package(s) | :x: | Set by GitHub |
| `user` | User containing the package(s) | :x: | :x: |
| `organization` | Organization containing the package(s) | :x: | :x: |
| `names` | Names of the packages | :heavy_check_mark: | :x: |
| `semver-pattern` | [Semver](https://semver.org/) range of the versions | :x: | `^.+$` |
| `version-pattern` | Regex pattern of the versions | :x: | :x: |
| `version` | Specific version to delete | :x: | :x: |
| `keep` | Number of versions to exclude from deletions | :x: | 2 |
| `token` | Token with the necessary scopes to delete package versions | :x: | Set by Github |
| `token` | Token with the necessary scopes to delete package versions | :x: | Set by GitHub |
| `dry-run` | If the action should only print what it would do. | :x: | `false` |

> :warning: You can provide _either_ `owner` and `repo`, `user` or `organization`. An error is thrown for invalid combinations.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "delete-old-packages",
"version": "0.3.3",
"description": "Github Action for deleting old packages",
"description": "GitHub Action for deleting old packages",
"main": "dist/index.js",
"repository": "https://github.com/SmartsquareGmbH/delete-old-packages",
"author": "Ruben Gees",
Expand Down

0 comments on commit 775a023

Please sign in to comment.