diff options
author | Sviatoslav Sydorenko <wk@sydorenko.org.ua> | 2023-01-02 03:18:45 +0100 |
---|---|---|
committer | Sviatoslav Sydorenko <wk@sydorenko.org.ua> | 2023-01-02 03:18:45 +0100 |
commit | c1ab22d3c3e64c9dc00664c8f6e0239f0b79b4bd (patch) | |
tree | 30cbd1aed9c73dab4fafa55b0801b86f8b2c5895 | |
parent | 18ac9908628b8564aa0b24a08a35356e9247eda1 (diff) | |
download | cherrypy-git-c1ab22d3c3e64c9dc00664c8f6e0239f0b79b4bd.tar.gz |
🔧 Use Git for pre-commit-pep257 in CI
-rw-r--r-- | .github/workflows/ci-cd.yml | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 4fc32763..ae54353c 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -573,13 +573,19 @@ jobs: # NOTE: Git repository. - name: Grab the source from Git if: >- - contains(fromJSON('["pre-commit", "spellcheck-docs"]'), matrix.toxenv) + contains( + fromJSON('["pre-commit", "pre-commit-pep257", "spellcheck-docs"]'), + matrix.toxenv + ) uses: actions/checkout@v3 with: ref: ${{ github.event.inputs.release-committish }} - name: Retrieve the project source from an sdist inside the GHA artifact if: >- - !contains(fromJSON('["pre-commit", "spellcheck-docs"]'), matrix.toxenv) + !contains( + fromJSON('["pre-commit", "pre-commit-pep257", "spellcheck-docs"]'), + matrix.toxenv + ) uses: re-actors/checkout-python-sdist@release/v1 with: source-tarball-name: ${{ needs.pre-setup.outputs.sdist-artifact-name }} |