diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3a092ae70..a061a3c2b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,6 +19,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 + fetch-tags: true - uses: actions/setup-python@v5 with: python-version: '3.12' diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index 20918a3bf..ef2ec0135 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -22,6 +22,9 @@ jobs: python-version: ["3.12"] steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 + fetch-tags: true - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v5 with: @@ -65,6 +68,9 @@ jobs: python -m pip install build twine - uses: actions/checkout@v4 + with: + fetch-depth: 0 + fetch-tags: true - name: Build sdist run: python -m build --sdist - name: Check sdist @@ -81,6 +87,9 @@ jobs: run: python -m pip uninstall -y mne-bids - uses: actions/checkout@v4 + with: + fetch-depth: 0 + fetch-tags: true - name: Build wheel run: python -m build --wheel - name: Check wheel @@ -97,6 +106,9 @@ jobs: run: python -m pip uninstall -y mne-bids - uses: actions/checkout@v4 + with: + fetch-depth: 0 + fetch-tags: true - name: Test extras install run: | python -m pip install .[full] @@ -161,6 +173,9 @@ jobs: FORCE_COLOR: true steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 + fetch-tags: true - name: Set up Node.js uses: actions/setup-node@v4 @@ -289,6 +304,9 @@ jobs: python-version: ["3.12"] steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 + fetch-tags: true - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v5 with: