diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index c91d9953a..5950dea23 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -32,6 +32,8 @@ jobs: - go steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 - uses: actions/setup-go@v4 with: go-version-file: go.mod diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml index f88df9fa4..cb9e79f5e 100644 --- a/.github/workflows/dependency-review.yml +++ b/.github/workflows/dependency-review.yml @@ -27,4 +27,6 @@ jobs: if: (github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'skip workflows')) || github.event_name == 'push' steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 - uses: actions/dependency-review-action@v3 diff --git a/.github/workflows/examples-tests.yml b/.github/workflows/examples-tests.yml index 8835294e5..c00e728f7 100644 --- a/.github/workflows/examples-tests.yml +++ b/.github/workflows/examples-tests.yml @@ -23,6 +23,8 @@ jobs: same-branch-only: true - uses: actions/checkout@v4 + with: + fetch-depth: 0 - uses: actions/setup-go@v4 with: go-version-file: go.mod diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 3df22cedb..a3640952e 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -33,6 +33,8 @@ jobs: if: (github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'skip workflows')) || github.event_name == 'push' steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 - uses: returntocorp/semgrep-action@v1 make_lint: @@ -40,6 +42,8 @@ jobs: if: (github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'skip workflows')) || github.event_name == 'push' steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 - uses: actions/setup-go@v4 with: go-version-file: go.mod @@ -51,6 +55,8 @@ jobs: if: (github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'skip workflows')) || github.event_name == 'push' steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 - uses: actions/setup-go@v4 with: go-version-file: go.mod diff --git a/.github/workflows/release-artifacts.yml b/.github/workflows/release-artifacts.yml index 733ec08c9..9a5cb1095 100644 --- a/.github/workflows/release-artifacts.yml +++ b/.github/workflows/release-artifacts.yml @@ -11,6 +11,8 @@ jobs: steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 - uses: actions/setup-go@v4 with: go-version-file: go.mod diff --git a/.github/workflows/sweep.yml b/.github/workflows/sweep.yml index 14e9d239d..63669c918 100644 --- a/.github/workflows/sweep.yml +++ b/.github/workflows/sweep.yml @@ -18,6 +18,8 @@ jobs: steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 - uses: actions/setup-go@v4 with: go-version-file: go.mod diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 4e5972f29..8a80f9198 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -25,6 +25,8 @@ jobs: if: (github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'skip workflows')) || github.event_name == 'push' steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 - uses: actions/setup-go@v4 with: go-version-file: go.mod