From 66e816ec3a513a8a854882f8d09480e631919a87 Mon Sep 17 00:00:00 2001 From: duyhla <109505975+duyhla@users.noreply.github.com> Date: Fri, 9 Aug 2024 11:23:38 +0700 Subject: [PATCH] Update secrets scan pipeline --- .github/workflows/secrets-scan.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/secrets-scan.yml b/.github/workflows/secrets-scan.yml index 5fee600f..abc514bf 100644 --- a/.github/workflows/secrets-scan.yml +++ b/.github/workflows/secrets-scan.yml @@ -3,11 +3,10 @@ on: pull_request: push: workflow_dispatch: - schedule: - - cron: "0 4 * * *" # run once a day at 4 AM + jobs: Gitleaks: - runs-on: ubuntu-latest + runs-on: [self-hosted, Linux, X64] steps: - name: Checkout code uses: actions/checkout@v4 @@ -22,7 +21,7 @@ jobs: GITLEAKS_CONFIG: '.github/gitleaks.toml' Truffle: - runs-on: ubuntu-latest + runs-on: [self-hosted, Linux, X64] steps: - name: Checkout code uses: actions/checkout@v4