Skip to content

Commit

Permalink
fix git-secrets pipe
Browse files Browse the repository at this point in the history
  • Loading branch information
npololnskii committed Jun 19, 2024
1 parent e12f6a6 commit f71591a
Showing 1 changed file with 13 additions and 17 deletions.
30 changes: 13 additions & 17 deletions .github/workflows/git-secrets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,17 @@ jobs:

# 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: 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\ngit secrets --install\ngit secrets --register-aws \n"
- name: Running scanning tool
run: git secrets --scan

0 comments on commit f71591a

Please sign in to comment.