Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
branches:
- main

permissions:
contents: read

concurrency:
cancel-in-progress: true
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down Expand Up @@ -42,11 +45,11 @@ jobs:
# renovate: github-runner
- windows-2025
python-version:
- '3.9'
- '3.10'
- '3.11'
- '3.12'
- '3.13'
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
consistency:
if: ${{ !cancelled() && ! failure() }}
runs-on: ubuntu-24.04
Expand Down
26 changes: 16 additions & 10 deletions .github/workflows/commitlint.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,23 @@
name: CommitLint

on:
pull_request:
types:
- opened
- synchronize
- reopened
- edited
push:
branches:
- main

permissions:
contents: read

concurrency:
cancel-in-progress: true
group: ${{ github.workflow }}-${{ github.ref }}

jobs:
commitlint:
container:
Expand All @@ -15,13 +31,3 @@ jobs:
- name: Validate pull request title with commitlint
if: github.event_name == 'pull_request'
run: echo "${{ github.event.pull_request.title }}" | npx commitlint -x @commitlint/config-conventional
on:
pull_request:
types:
- opened
- synchronize
- reopened
- edited
push:
branches:
- main
26 changes: 15 additions & 11 deletions .github/workflows/readthedocs-preview.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
name: Read the Docs Pull Request Preview
concurrency:
cancel-in-progress: true
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
documentation-links:
runs-on: ubuntu-24.04
steps:
- name: Add Read the Docs preview's link to pull request
uses: readthedocs/actions/preview@b8bba1484329bda1a3abe986df7ebc80a8950333 # v1.5
with:
project-slug: ss-python

on:
pull_request_target:
types:
Expand All @@ -22,5 +12,19 @@ on:
- docs/**
- pdm.dev.lock
- pdm.lock

permissions:
pull-requests: write

concurrency:
cancel-in-progress: true
group: ${{ github.workflow }}-${{ github.ref }}

jobs:
documentation-links:
runs-on: ubuntu-24.04
steps:
- name: Add Read the Docs preview's link to pull request
uses: readthedocs/actions/preview@b8bba1484329bda1a3abe986df7ebc80a8950333 # v1.5
with:
project-slug: ss-python
17 changes: 10 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
types:
- published

permissions:
contents: read

concurrency:
cancel-in-progress: true
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -21,7 +24,7 @@ jobs:
uses: pdm-project/setup-pdm@deb8d8a4e2a03aabcef6f2cc981923fc6b29ef99 # v4.3
with:
cache: true
python-version: '3.12'
python-version: "3.12"
version: 2.24.1
cache-dependency-path: |
./pdm.dev.lock
Expand Down Expand Up @@ -111,11 +114,11 @@ jobs:
strategy:
matrix:
python-version:
- '3.9'
- '3.10'
- '3.11'
- '3.12'
- '3.13'
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
package-publish:
runs-on: ubuntu-24.04
permissions:
Expand All @@ -128,7 +131,7 @@ jobs:
uses: pdm-project/setup-pdm@deb8d8a4e2a03aabcef6f2cc981923fc6b29ef99 # v4.3
with:
cache: true
python-version: '3.12'
python-version: "3.12"
version: 2.24.1
cache-dependency-path: |
./pdm.dev.lock
Expand Down
17 changes: 12 additions & 5 deletions .github/workflows/renovate.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
name: Renovate

on:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: "*/15 0-3 * * 1"
workflow_dispatch: null

permissions:
contents: read
issues: write
pull-requests: write

jobs:
renovate:
container:
Expand Down Expand Up @@ -46,8 +58,3 @@ jobs:
else
renovate $RENOVATE_EXTRA_FLAG
fi
on:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: "*/15 0-3 * * 1"
workflow_dispatch: null
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
branches:
- main

permissions:
contents: read

concurrency:
cancel-in-progress: true
group: {{ '${{ github.workflow }}-${{ github.ref }}' }}
Expand Down Expand Up @@ -50,19 +53,19 @@ jobs:
{% endif %}
python-version:
{% if version_between("3.9", min_py, max_py) %}
- '3.9'
- "3.9"
{% endif %}
{% if version_between("3.10", min_py, max_py) %}
- '3.10'
- "3.10"
{% endif %}
{% if version_between("3.11", min_py, max_py) %}
- '3.11'
- "3.11"
{% endif %}
{% if version_between("3.12", min_py, max_py) %}
- '3.12'
- "3.12"
{% endif %}
{% if version_between("3.13", min_py, max_py) %}
- '3.13'
- "3.13"
{% endif %}
{% if project_name == "Serious Scaffold Python" %}
consistency:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,23 @@
name: CommitLint

on:
pull_request:
types:
- opened
- synchronize
- reopened
- edited
push:
branches:
- main

permissions:
contents: read

concurrency:
cancel-in-progress: true
group: ${{ github.workflow }}-${{ github.ref }}

jobs:
commitlint:
container:
Expand All @@ -15,13 +31,3 @@ jobs:
- name: Validate pull request title with commitlint
if: github.event_name == 'pull_request'
run: echo "${{ github.event.pull_request.title }}" | npx commitlint -x @commitlint/config-conventional
on:
pull_request:
types:
- opened
- synchronize
- reopened
- edited
push:
branches:
- main
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
name: Read the Docs Pull Request Preview
concurrency:
cancel-in-progress: true
group: {{ '${{ github.workflow }}-${{ github.ref }}' }}
jobs:
documentation-links:
runs-on: ubuntu-24.04
steps:
- name: Add Read the Docs preview's link to pull request
uses: readthedocs/actions/preview@b8bba1484329bda1a3abe986df7ebc80a8950333 # v1.5
with:
project-slug: {{ repo_name }}

on:
pull_request_target:
types:
Expand All @@ -22,5 +12,19 @@ on:
- docs/**
- pdm.dev.lock
- pdm.lock

permissions:
pull-requests: write

concurrency:
cancel-in-progress: true
group: {{ '${{ github.workflow }}-${{ github.ref }}' }}

jobs:
documentation-links:
runs-on: ubuntu-24.04
steps:
- name: Add Read the Docs preview's link to pull request
uses: readthedocs/actions/preview@b8bba1484329bda1a3abe986df7ebc80a8950333 # v1.5
with:
project-slug: {{ repo_name }}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
types:
- published

permissions:
contents: read

concurrency:
cancel-in-progress: true
group: {{ '${{ github.workflow }}-${{ github.ref }}' }}
Expand All @@ -22,7 +25,7 @@ jobs:
uses: pdm-project/setup-pdm@deb8d8a4e2a03aabcef6f2cc981923fc6b29ef99 # v4.3
with:
cache: true
python-version: '{{ default_py }}'
python-version: "{{ default_py }}"
version: 2.24.1
cache-dependency-path: |
./pdm.dev.lock
Expand Down Expand Up @@ -113,19 +116,19 @@ jobs:
matrix:
python-version:
{% if version_between("3.9", min_py, max_py) %}
- '3.9'
- "3.9"
{% endif %}
{% if version_between("3.10", min_py, max_py) %}
- '3.10'
- "3.10"
{% endif %}
{% if version_between("3.11", min_py, max_py) %}
- '3.11'
- "3.11"
{% endif %}
{% if version_between("3.12", min_py, max_py) %}
- '3.12'
- "3.12"
{% endif %}
{% if version_between("3.13", min_py, max_py) %}
- '3.13'
- "3.13"
{% endif %}
package-publish:
runs-on: ubuntu-24.04
Expand All @@ -139,7 +142,7 @@ jobs:
uses: pdm-project/setup-pdm@deb8d8a4e2a03aabcef6f2cc981923fc6b29ef99 # v4.3
with:
cache: true
python-version: '{{ default_py }}'
python-version: "{{ default_py }}"
version: 2.24.1
cache-dependency-path: |
./pdm.dev.lock
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
name: Renovate

on:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: "*/15 0-3 * * 1"
workflow_dispatch: null

permissions:
contents: read
issues: write
pull-requests: write

jobs:
renovate:
container:
Expand Down Expand Up @@ -50,8 +62,3 @@ jobs:
else
renovate $RENOVATE_EXTRA_FLAG
fi
on:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: "*/15 0-3 * * 1"
workflow_dispatch: null
Loading