You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Optional regular expression to match tags that should be preserved (not deleted).
57
+
# Tags matching this pattern will never be deleted, even if they are on a package version with PR tags.
58
+
# Example: "^v.*" to preserve version tags like v1.0.0, v2.1.3, etc.
59
+
preserve-tags-filter: ""
60
+
56
61
# GitHub token with the folowing scopes: `pull-requests:read`, `packages:read` and `packages:delete`.
57
62
# See https://docs.github.com/en/packages/learn-github-packages/about-permissions-for-github-packages#about-scopes-and-permissions-for-package-registries.
| **`pull-request-tag-filter`** | The regular expression to match pull request tags. Must have a capture group for the pull request number. | **false** | `^pr-([0-9]+)(?:-\|$)` |
78
+
| **`preserve-tags-filter`** | Optional regular expression to match tags that should be preserved (not deleted). | **false** | - |
79
+
| | Tags matching this pattern will never be deleted, even if they are on a package version with PR tags. | | |
80
+
| | Example: "^v.*"to preserve version tags like v1.0.0, v2.1.3, etc. | | |
73
81
| **`github-token`** | GitHub token with the folowing scopes: `pull-requests:read`, `packages:read` and `packages:delete`. | **false** | `${{ github.token }}` |
74
82
| | See <https://docs.github.com/en/packages/learn-github-packages/about-permissions-for-github-packages#about-scopes-and-permissions-for-package-registries>. | | |
75
83
@@ -122,7 +130,7 @@ This project is licensed under the MIT License.
0 commit comments