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

Fix Docker container names in pre-commit hooks #1933

Merged
merged 1 commit into from
Oct 9, 2022

Conversation

mwarres
Copy link
Contributor

@mwarres mwarres commented Oct 5, 2022

Fixes #1932
The previous Docker container names contained Bash syntax, but pre-commit interprets them as string literals, resulting in invalid Docker container names. Remove Bash syntax, and replace it with string literals.

@nvuillam
Copy link
Member

nvuillam commented Oct 5, 2022

@Kurt-von-Laven any opinion ? :)

@Kurt-von-Laven
Copy link
Collaborator

It looks right to me. Just needs a rebase.

@nvuillam
Copy link
Member

nvuillam commented Oct 5, 2022

@mwarres you know what to do :)

@codecov-commenter
Copy link

codecov-commenter commented Oct 6, 2022

Codecov Report

Merging #1933 (169fceb) into main (b11a612) will increase coverage by 0.67%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1933      +/-   ##
==========================================
+ Coverage   82.03%   82.71%   +0.67%     
==========================================
  Files         157      157              
  Lines        3384     3384              
==========================================
+ Hits         2776     2799      +23     
+ Misses        608      585      -23     
Impacted Files Coverage Δ
megalinter/reporters/UpdatedSourcesReporter.py 89.74% <0.00%> (+2.56%) ⬆️
...alinter/tests/test_megalinter/helpers/utilstest.py 89.01% <0.00%> (+8.05%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

CHANGELOG.md Outdated Show resolved Hide resolved
The previous Docker container names contained Bash syntax, but
pre-commit interprets them as string literals, resulting in invalid
Docker container names. Remove Bash syntax, and replace it with string
literals.
@nvuillam nvuillam merged commit 093b472 into oxsecurity:main Oct 9, 2022
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.

Invalid Docker Container Names in pre-commit hooks
4 participants