Skip to content
Open
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Target file path. Only supports paths to subdirectories of the GitHub Actions wo

### `regex`

Boolean indicating if `file` is to be interpreted as regular expression. Defaults to `false`.
Boolean indicating if `true` is to be interpreted as regular expression. Defaults to `false`.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The current README is correct though. This option controls wether the file parameter should be interpreted as a regex or a literal file name.

Perhaps the documentation could be a bit clearer.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @dsaltares,
Thanks for the explanation. So if the user wants to use the regular expression functionality for a file (e.g. my-file-.*.zip instead of my-file-4.0.1.zip) should the regex parameter be true or false?

I was under the assumption that it should be true for regular expression behavior.


### `octokitBaseUrl`

Expand Down