diff --git a/.github/release.yml b/.github/release.yml new file mode 100644 index 000000000..b29d80436 --- /dev/null +++ b/.github/release.yml @@ -0,0 +1,29 @@ +changelog: + exclude: + labels: + - dependencies + - Internal + - CI + - Documentation + authors: + - dependabot[bot] + - pre-commit-ci[bot] + categories: + - title: Breaking changes + labels: + - Breaking + - title: Features + labels: + - Feature + - title: Bug fixes + labels: + - Bug + - title: Translations + labels: + - Translations + - title: Packaging + labels: + - Packaging + - title: Other changes + labels: + - '*' \ No newline at end of file diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3004ccf1f..5b74c0c21 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,6 +11,19 @@ concurrency: cancel-in-progress: true jobs: + pre-commit: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + with: + fetch-depth: 0 + + - uses: actions/setup-python@v6 + with: + python-version: "3.10" + + - uses: pre-commit/action@v3.0.1 + tests: name: Python ${{ matrix.python-version }} runs-on: ubuntu-24.04 diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml deleted file mode 100644 index a1b678919..000000000 --- a/.github/workflows/pre-commit.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: pre-commit - -on: - push: - branches: - - main - pull_request: - -jobs: - pre-commit: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v6 - with: - fetch-depth: 0 - - - uses: actions/setup-python@v6 - with: - python-version: "3.10" - - - uses: pre-commit/action@v3.0.1 diff --git a/docs/img/build-status.png b/docs/img/build-status.png index bb043cb9e..863756b0f 100644 Binary files a/docs/img/build-status.png and b/docs/img/build-status.png differ diff --git a/pyproject.toml b/pyproject.toml index 1455ef4c6..bc887b2fa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -74,7 +74,7 @@ optional = [ "pygments>=2.17,<2.20", "pyyaml>=5.3.1,<6.1", # setuptools is needed for coreapi (imports pkg_resources) - "setuptools", + "setuptools<82", ] django42 = [ "django>=4.2,<5.0" ] django50 = [ "django>=5.0,<5.1" ]