diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 6c4b369..8b13673 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -4,7 +4,7 @@ updates: - package-ecosystem: "github-actions" directory: "/" schedule: - interval: "weekly" + interval: "monthly" groups: actions: patterns: diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index a86735b..852f388 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -49,7 +49,7 @@ jobs: ls -ltrh ls -ltrh dist - name: Publish to Test PyPI - uses: pypa/gh-action-pypi-publish@v1.10.1 + uses: pypa/gh-action-pypi-publish@v1.10.3 with: repository-url: https://test.pypi.org/legacy/ verbose: true @@ -98,5 +98,5 @@ jobs: name: artifact path: dist - - uses: pypa/gh-action-pypi-publish@v1.10.1 + - uses: pypa/gh-action-pypi-publish@v1.10.3 if: startsWith(github.ref, 'refs/tags') diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f6ab52e..ccf667b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -2,8 +2,12 @@ name: Code Quality on: push: branches: [ master ] + paths-ignore: + - 'docs/**' pull_request: branches: [ master ] + paths-ignore: + - 'docs/**' jobs: run: runs-on: ubuntu-latest diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 31dc277..a9586bb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,9 +6,12 @@ on: # Triggers the workflow on push or pull request events but only for the master branch push: branches: [ master ] + paths-ignore: + - 'docs/**' pull_request: branches: [ master ] - workflow_dispatch: + paths-ignore: + - 'docs/**' jobs: build: diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 82429fd..8f45173 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -11,6 +11,13 @@ build: tools: python: "3.11" jobs: + post_checkout: + # https://docs.readthedocs.io/en/stable/build-customization.html#cancel-build-based-on-a-condition + - | + if [ "$READTHEDOCS_VERSION_TYPE" = "external" ] && git diff --quiet origin/main -- docs/ .readthedocs.yaml; + then + exit 183; + fi pre_build: # Generate the Sphinx configuration for this Jupyter Book so it builds. - "jupyter-book config sphinx docs" diff --git a/README.rst b/README.rst index 89256ed..930fd66 100644 --- a/README.rst +++ b/README.rst @@ -115,5 +115,8 @@ DOI --- .. |HW22| image:: https://zenodo.org/badge/DOI/10.5281/zenodo.7618102.svg :target: https://doi.org/10.5281/zenodo.7618102 +.. |HW24| image:: https://zenodo.org/badge/DOI/10.5281/zenodo.13312706.svg + :target: https://doi.org/10.5281/zenodo.13312706 -* SnowEx Hackweek 2022 - |HW22| +* `SnowEx Hackweek 2022 `_ - |HW22| +* `SnowEx Hackweek 2024 `_ - |HW24|