Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/prune-pull-requests-images-tags.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:

# Optional regular expression to match tags that should be preserved (not deleted).
# Tags matching this pattern will never be deleted, even if they are on a package version with PR tags.
# Example: "^v.*" to preserve version tags like v1.0.0, v2.1.3, etc.
# Example: `^v.*` to preserve version tags like v1.0.0, v2.1.3, etc.
preserve-tags-filter: ""
````

Expand All @@ -102,7 +102,7 @@ jobs:
| | Must have a capture group for the pull request number. | | | |
| **`preserve-tags-filter`** | Optional regular expression to match tags that should be preserved (not deleted). | **false** | **string** | - |
| | Tags matching this pattern will never be deleted, even if they are on a package version with PR tags. | | | |
| | Example: "^v.\*" to preserve version tags like v1.0.0, v2.1.3, etc. | | | |
| | Example: `^v.*` to preserve version tags like v1.0.0, v2.1.3, etc. | | | |

<!-- inputs:end -->
<!-- secrets:start -->
Expand Down
4 changes: 2 additions & 2 deletions actions/docker/prune-pull-requests-image-tags/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ permissions:

# Optional regular expression to match tags that should be preserved (not deleted).
# Tags matching this pattern will never be deleted, even if they are on a package version with PR tags.
# Example: "^v.*" to preserve version tags like v1.0.0, v2.1.3, etc.
# Example: `^v.*` to preserve version tags like v1.0.0, v2.1.3, etc.
preserve-tags-filter: ""

# GitHub token with the folowing scopes: `pull-requests:read`, `packages:read` and `packages:delete`.
Expand All @@ -77,7 +77,7 @@ permissions:
| **`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]+)(?:-\|$)` |
| **`preserve-tags-filter`** | Optional regular expression to match tags that should be preserved (not deleted). | **false** | - |
| | Tags matching this pattern will never be deleted, even if they are on a package version with PR tags. | | |
| | Example: "^v.\*" to preserve version tags like v1.0.0, v2.1.3, etc. | | |
| | Example: `^v.*` to preserve version tags like v1.0.0, v2.1.3, etc. | | |
| **`github-token`** | GitHub token with the folowing scopes: `pull-requests:read`, `packages:read` and `packages:delete`. | **false** | `${{ github.token }}` |
| | See <https://docs.github.com/en/packages/learn-github-packages/about-permissions-for-github-packages#about-scopes-and-permissions-for-package-registries>. | | |

Expand Down