-
Notifications
You must be signed in to change notification settings - Fork 62.5k
Closed
Labels
actionsThis issue or pull request should be reviewed by the docs actions teamThis issue or pull request should be reviewed by the docs actions teamcontentThis issue or pull request belongs to the Docs Content teamThis issue or pull request belongs to the Docs Content team
Description
What is the current behavior?
In the "Workflow syntax for GitHub Actions" docs page, it says, in the filter pattern cheat sheet:
?
: Matches zero or one single character. For example,Octoc?t
matchesOctocat
whereas, a bit further down, it says:
'*.jsx?'
The?
character matches zero or one of the preceding character. E.g.page.js
,page.jsx
(copied out of the table, emphasis mine)
What changes are you suggesting?
I would expect the latter behaviour is the correct one, as that would be consistent with regexes, but I have not tested the behaviour of the question mark in GitHub Actions.
Additional information
Metadata
Metadata
Assignees
Labels
actionsThis issue or pull request should be reviewed by the docs actions teamThis issue or pull request should be reviewed by the docs actions teamcontentThis issue or pull request belongs to the Docs Content teamThis issue or pull request belongs to the Docs Content team