Skip to content

Commit

Permalink
Merge pull request #318 from logzio/fix-git-secrets
Browse files Browse the repository at this point in the history
fix git-secrets pipe
  • Loading branch information
npololnskii authored Jun 19, 2024
2 parents e12f6a6 + 53318f1 commit 8dca427
Showing 1 changed file with 16 additions and 18 deletions.
34 changes: 16 additions & 18 deletions .github/workflows/git-secrets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,23 @@ jobs:
# This workflow contains a single job called "main"
git-secrets:
# The type of runner that the job will run on
runs-on: macos-latest
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Check Out Source Code
uses: actions/checkout@v3
- name: Check Out Source Code
uses: actions/checkout@v3

- name: Set up Python 3.8
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Installing dependencies
run:
brew install git less openssh
- name: Installing scanning tool
run: |
brew install git-secrets
git secrets --install
git secrets --register-aws
- name: Running scanning tool
run:
git secrets --scan
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y make
- name: Install git-secrets
run: |
git clone https://github.com/awslabs/git-secrets.git
cd git-secrets
sudo make install
- name: Running scanning tool
run: git secrets --scan

0 comments on commit 8dca427

Please sign in to comment.