Skip to content

Commit

Permalink
ci: Enable find-and-report-secrets-in-code tool via CI/CD on master b…
Browse files Browse the repository at this point in the history
…ranch for detecting and reporting secrets.
  • Loading branch information
Abdullah Khawer committed Sep 2, 2024
1 parent 52be9e3 commit 98a02bb
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
20 changes: 20 additions & 0 deletions .github/workflows/use-find-secrets.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: find-and-report-secrets-in-code

on:
push:
branches:
- master

jobs:
find-and-report-secrets-in-code:
uses: abdullahkhawer/find-and-report-secrets-in-code/.github/workflows/.github-workflow.yml@master
with:
CONFLUENCE_ENABLED: "0"
SLACK_ENABLED: "1"
CONFLUENCE_PAGE_TITLE: ${{ vars.CONFLUENCE_PAGE_TITLE }}
CONFLUENCE_PAGE_SPACE: ${{ vars.CONFLUENCE_PAGE_SPACE }}
secrets:
CONFLUENCE_SITE: ${{ secrets.CONFLUENCE_SITE }}
CONFLUENCE_USER_EMAIL_ID: ${{ secrets.CONFLUENCE_USER_EMAIL_ID }}
CONFLUENCE_USER_TOKEN: ${{ secrets.CONFLUENCE_USER_TOKEN }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# Add any directories, files, or patterns you don't want to be tracked by version control.
.git
.git
gitleaks-report-detailed.json

0 comments on commit 98a02bb

Please sign in to comment.