-
Notifications
You must be signed in to change notification settings - Fork 82
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
Fix YAML multiline error in GitHub Action workflow #227
base: main
Are you sure you want to change the base?
Conversation
Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. In the meantime, please ensure that your changes align with our CONTRIBUTING.md. If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@BigBang001 Please link the issue using keywords. (fixes/closes..) You can find the detailed info about the same here:
https://docs.github.com/en/issues/tracking-your-work-with-issues/using-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword
If needed, please check out merged PRs for reference.
Thanks & regards
Other than looks good to me!
@Mayureshd-18 I have linked the PR with the respective issue. Now you can check and verify. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
Thanks
Description of the Issue
This PR addresses the issue where the GitHub Action workflow fails with the error:
Issue Reference
Fixes #228
The error occurs because the
re.match
regular expression in the Python code block is split across multiple lines, which YAML does not interpret correctly.Fix Summary
The issue was fixed by modifying the
re.match
pattern in the YAML file, combining it into a single line within therun
command. This ensures YAML can correctly parse and execute the Python script within the GitHub Action.Changes Made
re.match
pattern in theCheck PR Description and Title
step to be on a single line.