Skip to content

Commit 8341ca2

Browse files
committed
docs: update validation-level section in README.md for clarity
1 parent eb3b9a1 commit 8341ca2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ The status to set on the PR. If not specified, the action will create a _draft_
5757
#### `validation-level`
5858
The validation level to use. Accepts `patch` or `minor`. If not specified, the action will use `minor`.
5959

60+
- `minor`: Compares the "Tested Up To" version against the current WordPress version using only the major and minor numbers (e.g., `6.1`), ignoring the patch number.
61+
- `patch`: Compares the full version including the patch number (e.g., `6.1.2`), requiring an exact match for validation.
62+
6063
## Permissions
6164

6265
The `write` permissions on `contents` and `pull-requests` are important. They are required for the action to commit the changes back to the repository and open a pull request. The only files affected by the action are files named `readme.txt`, `README.md` or those files matching the pattern (looking for "Tested Up To" in the file) that have been specified in the `filenames` input.

0 commit comments

Comments
 (0)