Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added regex option for matching exact filename in gitlab #118

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

katzy687
Copy link

@katzy687 katzy687 commented Jan 8, 2023

Issue with nested dir and file extractor, added more exact regex match pattern

sample url with nested folder:
http://192.168.85.26/api/v4/projects/2/repository/files/ansibletest%2Fhello_world.yml/raw?ref=test-branch

was resolving ansibletest/hello_world.yml as file name when trying to extract name from url, which would crash flow when driver tries to open file

'X-Gitlab-File-Name' header is easy exact match from header step for gitlab provider and shouldn't break anything else to just have extra pattern to check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants