diff --git a/.github/workflows/octocheese.yml b/.github/workflows/octocheese.yml index 997f8b3f..b1a307a8 100644 --- a/.github/workflows/octocheese.yml +++ b/.github/workflows/octocheese.yml @@ -16,3 +16,4 @@ jobs: pypi_name: "repo_helper" env: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} + if: startsWith(github.ref, 'refs/tags/') != true diff --git a/tox.ini b/tox.ini index e9ccd66b..061be443 100644 --- a/tox.ini +++ b/tox.ini @@ -77,6 +77,7 @@ deps = flake8-builtins>=1.5.3 flake8-docstrings>=1.5.0 flake8-dunder-all>=0.1.1 + flake8-github-actions>=0.1.0 flake8-pyi>=20.10.0 flake8-pytest-style>=1.3.0 flake8-sphinx-links>=0.0.4 @@ -86,7 +87,6 @@ deps = git+https://github.com/domdfcoding/flake8-quotes.git git+https://github.com/domdfcoding/flake8-rst-docstrings.git git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git@v2 - git+https://github.com/domdfcoding/flake8-github-actions pygments>=2.7.1 commands = python3 -m flake8_rst_docstrings_sphinx repo_helper tests --allow-toolbox {posargs}