Skip to content

Commit

Permalink
chore: remove gitleaks
Browse files Browse the repository at this point in the history
  • Loading branch information
pbastia committed Nov 1, 2024
1 parent 59a3dfa commit 831fd7b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
16 changes: 0 additions & 16 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -266,29 +266,13 @@ jobs:
image: ubuntu-2004:2024.05.1
working_directory: ~/cas-ggircs
steps:
- run:
name: Install Go for pre-commit
command: |
wget https://go.dev/dl/go1.22.8.linux-amd64.tar.gz
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.22.8.linux-amd64.tar.gz
echo -e '\nexport export PATH=$PATH:/usr/local/go/bin' >> ~/.bashrc
source ~/.bashrc
- run:
name: Install gitleaks executable
command: |
wget https://github.com/gitleaks/gitleaks/releases/download/v8.21.2/gitleaks_8.21.2_linux_x64.tar.gz
sudo mkdir -p /usr/local/gitleaks && sudo tar -C /usr/local/gitleaks -zxf gitleaks_8.21.2_linux_x64.tar.gz
echo -e '\nexport export PATH=$PATH:/usr/local/gitleaks' >> ~/.bashrc
source ~/.bashrc
- attach_workspace:
at: ~/
- run:
name: Verify style with pre-commit
command: |
source ~/.asdf/asdf.sh
asdf reshim
pre-commit clean
pre-commit install
pre-commit run --all-files
- run:
name: Check if there is some unformatted code
Expand Down
4 changes: 0 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@ repos:
exclude: current_version\.txt|CHANGELOG\.md
- id: trailing-whitespace
exclude: .*/tests/.*
- repo: https://github.com/zricethezav/gitleaks
rev: v8.19.3
hooks:
- id: gitleaks
- repo: https://github.com/jorisroovers/gitlint
rev: v0.12.0
hooks:
Expand Down

0 comments on commit 831fd7b

Please sign in to comment.