From 5f4fa0498a07f282ed664642727166e6b66e22d9 Mon Sep 17 00:00:00 2001 From: --show-origin Date: Mon, 19 Aug 2024 05:37:14 -0700 Subject: [PATCH 1/2] fix(trufflehog): checkout forks during pr --- .github/workflows/trufflehog.yml | 1 - docs/DEVELOPMENT.md | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/trufflehog.yml b/.github/workflows/trufflehog.yml index 20afcac5..f801ac5c 100644 --- a/.github/workflows/trufflehog.yml +++ b/.github/workflows/trufflehog.yml @@ -45,7 +45,6 @@ jobs: uses: actions/checkout@v3 with: fetch-depth: 0 # Ensure full clone for pull request workflows - ref: ${{ github.head_ref }} # Fetch specific branch/commit for pull requests - name: TruffleHog OSS id: trufflehog diff --git a/docs/DEVELOPMENT.md b/docs/DEVELOPMENT.md index 383d2cd6..bec1ba8d 100644 --- a/docs/DEVELOPMENT.md +++ b/docs/DEVELOPMENT.md @@ -240,7 +240,7 @@ act --list >> 0 lint-test lint-test Lint and Test Charts helm-test.yml pull_request,workflow_dispatch # run action with job-id lint-test for event as defined in pr-event.json -act --job lint-test -e .act/pr-event.json +act --job lint-test -e .act/pr_event.json ``` # Notes on the release From 621ca2ba043387eeedeadd93d2852e04086b9626 Mon Sep 17 00:00:00 2001 From: --show-origin Date: Mon, 19 Aug 2024 05:53:35 -0700 Subject: [PATCH 2/2] fix(trufflehog): checkout forks during pr --- .github/workflows/trufflehog.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/trufflehog.yml b/.github/workflows/trufflehog.yml index f801ac5c..84d3a564 100644 --- a/.github/workflows/trufflehog.yml +++ b/.github/workflows/trufflehog.yml @@ -42,7 +42,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Repository - uses: actions/checkout@v3 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 with: fetch-depth: 0 # Ensure full clone for pull request workflows