Skip to content

Commit da41748

Browse files
committed
chore: remove gitleaks file and add it into build
1 parent c3b2838 commit da41748

2 files changed

Lines changed: 20 additions & 64 deletions

File tree

.github/workflows/build.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,26 @@ jobs:
6262
cd ouds_theme_sosh
6363
flutter test
6464
65+
gitleaks:
66+
name: Gitleaks Secret Scanning
67+
runs-on: ubuntu-latest
68+
timeout-minutes: 30
69+
permissions:
70+
contents: read
71+
steps:
72+
- name: Checkout code
73+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
74+
with:
75+
fetch-depth: 0
76+
77+
- name: Run Gitleaks Scan
78+
run: |
79+
curl -sSfL https://github.com/gitleaks/gitleaks/releases/download/v8.24.3/gitleaks_8.24.3_linux_x64.tar.gz -o /tmp/gitleaks.tar.gz
80+
tar -xzf /tmp/gitleaks.tar.gz -C /tmp
81+
sudo mv /tmp/gitleaks /usr/local/bin/gitleaks
82+
gitleaks detect --source . --config .gitleaks.toml -v --redact
83+
continue-on-error: true
84+
6585
build-android:
6686
runs-on: ubuntu-latest
6787
needs: test

.github/workflows/gitleaks.yml

Lines changed: 0 additions & 64 deletions
This file was deleted.

0 commit comments

Comments
 (0)