-
Notifications
You must be signed in to change notification settings - Fork 22.5k
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
CI fails when changed files have parens in file path #23605
Comments
I'll have a look on this |
Try to fix this in #23608 |
Command syntax, mainly shell expansions, are a little bit different for each shell -- newer shells like Z shell and fish are more forgiving than Bash. So scripts/commands that work in these shell may not work exactly the same on bash. If you are using Apple products then most likely you are using Z shell and not Bash. |
It looks like no files with a |
The change in PR is small and not affecting anything, so for now we can force merge it with failing workflow. We already do this for infrastructure related PRs e.g. #22874. |
Thanks @yin1999 - I've updated the issue description with the related PRs. |
Update:
We have agreed to ban parentheses from file names and renamed the offending paths:
CI checks are being put in place to ban new files from being added with parentheses:
Failing workflow:
https://github.com/mdn/content/actions/runs/3908866554/jobs/6679383140
Changed files:
Refers to line 5 in the script, which looks like:
content/.github/workflows/pr-test.yml
Lines 90 to 95 in ebd19ef
i.e.:
Where the following should work:
Maybe we should try wrapping these file paths in quotes
CCing @yin1999 @schalkneethling
The text was updated successfully, but these errors were encountered: