-
The Workflow and path. The commit. Clearly the changed files should have triggered the workflow, but nothing happened: https://github.com/terradatum/base-github-runner/actions Is there a known issue, or am I missing something? Is there a way to check an audit log of events and their listeners? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I notice you are using the pattern ’ ubuntu1?04.json’ on the push event in your workflow. I think you confuse the * character with ? character in the pattern for paths filter.
If you want the pattern can match below paths in your repository, you should use the character (’ ubuntu1*04.json’), instead of the ? character. The wildcard matches any character, but does not match slash (/).
More details, you can reference the docs about patterns to match file paths. |
Beta Was this translation helpful? Give feedback.
-
And so it is. I read that documentation over and over, and never picked up on that - I just skipping past it and thinking knew what I was reading because I “know my globbing and wildcards.” THANK YOU. |
Beta Was this translation helpful? Give feedback.
@rbellamy ,
I notice you are using the pattern ’ ubuntu1?04.json’ on the push event in your workflow. I think you confuse the * character with ? character in the pattern for paths filter.
The ? character matches zero or one of the preceding character, so the pattern ’ ubuntu1?04.json’ only can match the following paths:
If you want the pattern can match below paths in your repository, you should use the character (’ ubuntu1*04.json’), instead of the ? character. The wildcard matches any character, but does not match slash (/).
More details, you can reference the docs about patterns to match file paths.