From e168d664ec9122d964ba86e8d8d9ad6dc4145dec Mon Sep 17 00:00:00 2001 From: thegamecracks <61257169+thegamecracks@users.noreply.github.com> Date: Thu, 4 Apr 2024 17:12:18 -0400 Subject: [PATCH] ci: set fetch-depth to 0 to actually fetch tags actions/checkout#1471 --- .github/workflows/pyright-lint.yml | 1 + .github/workflows/python-publish.yml | 1 + .github/workflows/python-test.yml | 1 + 3 files changed, 3 insertions(+) diff --git a/.github/workflows/pyright-lint.yml b/.github/workflows/pyright-lint.yml index 31b87f1..8a9de1b 100644 --- a/.github/workflows/pyright-lint.yml +++ b/.github/workflows/pyright-lint.yml @@ -13,6 +13,7 @@ jobs: steps: - uses: actions/checkout@v4 with: + fetch-depth: 0 fetch-tags: true - uses: actions/setup-python@v5 with: diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 7344ec9..0bcf4f5 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -18,6 +18,7 @@ jobs: steps: - uses: actions/checkout@v4 with: + fetch-depth: 0 fetch-tags: true - uses: actions/setup-python@v5 with: diff --git a/.github/workflows/python-test.yml b/.github/workflows/python-test.yml index cff4ef6..ac8fd2e 100644 --- a/.github/workflows/python-test.yml +++ b/.github/workflows/python-test.yml @@ -13,6 +13,7 @@ jobs: steps: - uses: actions/checkout@v4 with: + fetch-depth: 0 fetch-tags: true - uses: actions/setup-python@v5 with: