Skip to content

Contradictory explanations of question mark filter pattern #3377

@MetRonnie

Description

@MetRonnie

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 matches Octocat

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 teamcontentThis issue or pull request belongs to the Docs Content team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions