diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 087484be..7de43430 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -43,6 +43,7 @@ jobs: - name: Checkout repository uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 with: + fetch-depth: 0 fetch-tags: true # Initializes the CodeQL tools for scanning. diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 910e2534..a7fba30e 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -22,6 +22,7 @@ jobs: - name: Checkout repository uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 with: + fetch-depth: 0 fetch-tags: true - name: Install cosign if: github.event_name != 'pull_request' diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 45d7a118..d46d82cd 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -21,6 +21,7 @@ jobs: - name: Checkout uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 with: + fetch-depth: 0 fetch-tags: true - name: Set up Go