Skip to content

Detect secrets hook is missing in Dev Container #485

Open
@kimsey0

Description

@kimsey0

When running the ci.sh script from a clean Dev Container, I get the following message at the end of the execution:

./ci.sh: line 30: detect-secrets-hook: command not found

This looks to me like detect-secrets isn't being installed properly in the Dev Container. There doesn't seem to be any references to it in the Dockerfile. Should the Dockerfile run setup_ci.sh (or the relevant lines from it) to install detect-secrets?

# Install python & pip
sudo apt update
sudo apt-get install -y python3
sudo apt-get install -y python3-pip
# https://github.com/Yelp/detect-secrets
pip3 install detect-secrets==1.1.0
# https://github.com/pre-commit
pip3 install pre-commit==2.12.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    developer experienceThe category for improvements to the process of contributing to this project.user questionFor questions asked by the users of the extension. More of a broad category

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions