Skip to content

chore(deps): update hypothesis requirement from <6.119.4,>=6.21.0 to >=6.21.0,<6.122.4 #1106

chore(deps): update hypothesis requirement from <6.119.4,>=6.21.0 to >=6.21.0,<6.122.4

chore(deps): update hypothesis requirement from <6.119.4,>=6.21.0 to >=6.21.0,<6.122.4 #1106

# This workflow lints the PR's title and commits. It uses the commitizen
# package (https://github.com/commitizen-tools/commitizen) and its `cz`
# tool to check the title of the PR and all commit messages of the branch
# which triggers this Action.
name: Check conventional commits
on:
pull_request:
branches:
- '*'
types:
- opened
- reopened
- edited
- synchronize
permissions:
contents: read
jobs:
conventional-commits:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: '3.13'
# Install Commitizen without using the package's Makefile: that's much faster than
# creating a venv and installing heaps of dependencies that aren't required for this job.
- name: Set up Commitizen
run: |
pip install --upgrade pip wheel
pip install 'commitizen ==3.31.0'
# Run Commitizen to check the title of the PR which triggered this workflow, and check
# all commit messages of the PR's branch. If any of the checks fails then this job fails.
- name: Check PR title
run: echo "$PR_TITLE" | cz check
env:
PR_TITLE: ${{ github.event.pull_request.title }}
- name: Check PR commit messages
run: |
git remote add other "$PR_HEAD_REPO_CLONE_URL"
git fetch other
cz check --rev-range "origin/$PR_BASE_REF..other/$PR_HEAD_REF"
env:
PR_BASE_REF: ${{ github.event.pull_request.base.ref }}
PR_HEAD_REF: ${{ github.event.pull_request.head.ref }}
PR_HEAD_REPO_CLONE_URL: ${{ github.event.pull_request.head.repo.clone_url }}