diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cd63eac..376d893 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -164,6 +164,7 @@ jobs: anaconda --verbose --token $ANACONDA_TOKEN upload --user ctools $LABEL conda-bld/*/*.tar.bz2 --force deploy: + if: startsWith(github.ref, 'refs/tags/') needs: upload # Grant GITHUB_TOKEN the permissions required to make a Pages deployment diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a3fc919..1e921ae 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -39,3 +39,9 @@ repos: rev: 7.1.1 hooks: - id: flake8 + + - repo: https://github.com/python-jsonschema/check-jsonschema + rev: 0.29.4 + hooks: + - id: check-dependabot + - id: check-github-workflows