Yurii Motov
1 week ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
22 changed files with
85 additions and
1 deletions
-
.github/workflows/add-to-project.yml
-
.github/workflows/build-docs.yml
-
.github/workflows/contributors.yml
-
.github/workflows/deploy-docs.yml
-
.github/workflows/detect-conflicts.yml
-
.github/workflows/guard-dependencies.yml
-
.github/workflows/issue-manager.yml
-
.github/workflows/label-approved.yml
-
.github/workflows/labeler.yml
-
.github/workflows/latest-changes.yml
-
.github/workflows/notify-translations.yml
-
.github/workflows/people.yml
-
.github/workflows/pre-commit.yml
-
.github/workflows/publish.yml
-
.github/workflows/smokeshow.yml
-
.github/workflows/sponsors.yml
-
.github/workflows/test-redistribute.yml
-
.github/workflows/test.yml
-
.github/workflows/topic-repos.yml
-
.github/workflows/translate.yml
-
.github/workflows/zizmor.yml
-
.pre-commit-config.yaml
|
|
|
@ -13,6 +13,7 @@ jobs: |
|
|
|
add-to-project: |
|
|
|
name: Add to project |
|
|
|
runs-on: ubuntu-latest |
|
|
|
timeout-minutes: 5 |
|
|
|
steps: |
|
|
|
- uses: actions/add-to-project@5afcf98fcd03f1c2f92c3c83f58ae24323cc57fd # v2.0.0 |
|
|
|
with: |
|
|
|
|
|
|
|
@ -16,6 +16,7 @@ jobs: |
|
|
|
# Required permissions |
|
|
|
permissions: |
|
|
|
pull-requests: read |
|
|
|
timeout-minutes: 5 |
|
|
|
# Set job outputs to values from filter step |
|
|
|
outputs: |
|
|
|
docs: ${{ steps.filter.outputs.docs }} |
|
|
|
@ -42,6 +43,7 @@ jobs: |
|
|
|
- changes |
|
|
|
if: ${{ needs.changes.outputs.docs == 'true' }} |
|
|
|
runs-on: ubuntu-latest |
|
|
|
timeout-minutes: 5 |
|
|
|
outputs: |
|
|
|
langs: ${{ steps.show-langs.outputs.langs }} |
|
|
|
steps: |
|
|
|
@ -55,6 +57,8 @@ jobs: |
|
|
|
- name: Setup uv |
|
|
|
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0 |
|
|
|
with: |
|
|
|
# Before upgrading uv version, make sure astral-sh/setup-uv knows its checksum. |
|
|
|
# See: https://github.com/astral-sh/setup-uv/issues/851#issuecomment-4282017837 |
|
|
|
version: "0.11.4" |
|
|
|
enable-cache: true |
|
|
|
cache-dependency-glob: | |
|
|
|
@ -73,6 +77,7 @@ jobs: |
|
|
|
- langs |
|
|
|
if: ${{ needs.changes.outputs.docs == 'true' }} |
|
|
|
runs-on: ubuntu-latest |
|
|
|
timeout-minutes: 7 |
|
|
|
strategy: |
|
|
|
matrix: |
|
|
|
lang: ${{ fromJson(needs.langs.outputs.langs) }} |
|
|
|
@ -91,6 +96,8 @@ jobs: |
|
|
|
- name: Setup uv |
|
|
|
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0 |
|
|
|
with: |
|
|
|
# Before upgrading uv version, make sure astral-sh/setup-uv knows its checksum. |
|
|
|
# See: https://github.com/astral-sh/setup-uv/issues/851#issuecomment-4282017837 |
|
|
|
version: "0.11.4" |
|
|
|
enable-cache: true |
|
|
|
cache-dependency-glob: | |
|
|
|
|
|
|
|
@ -33,6 +33,8 @@ jobs: |
|
|
|
- name: Setup uv |
|
|
|
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0 |
|
|
|
with: |
|
|
|
# Before upgrading uv version, make sure astral-sh/setup-uv knows its checksum. |
|
|
|
# See: https://github.com/astral-sh/setup-uv/issues/851#issuecomment-4282017837 |
|
|
|
version: "0.11.4" |
|
|
|
enable-cache: true |
|
|
|
cache-dependency-glob: | |
|
|
|
|
|
|
|
@ -16,6 +16,7 @@ jobs: |
|
|
|
issues: write |
|
|
|
pull-requests: write |
|
|
|
statuses: write |
|
|
|
timeout-minutes: 5 |
|
|
|
steps: |
|
|
|
- name: Dump GitHub context |
|
|
|
env: |
|
|
|
@ -31,6 +32,8 @@ jobs: |
|
|
|
- name: Setup uv |
|
|
|
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0 |
|
|
|
with: |
|
|
|
# Before upgrading uv version, make sure astral-sh/setup-uv knows its checksum. |
|
|
|
# See: https://github.com/astral-sh/setup-uv/issues/851#issuecomment-4282017837 |
|
|
|
version: "0.11.4" |
|
|
|
enable-cache: false |
|
|
|
- name: Install GitHub Actions dependencies |
|
|
|
|
|
|
|
@ -12,6 +12,7 @@ jobs: |
|
|
|
contents: read |
|
|
|
pull-requests: write |
|
|
|
runs-on: ubuntu-latest |
|
|
|
timeout-minutes: 5 |
|
|
|
steps: |
|
|
|
- name: Check if PRs have merge conflicts |
|
|
|
uses: eps1lon/actions-label-merge-conflict@1df065ebe6e3310545d4f4c4e862e43bdca146f0 # v3.0.3 |
|
|
|
|
|
|
|
@ -15,6 +15,7 @@ permissions: |
|
|
|
jobs: |
|
|
|
check-author: |
|
|
|
runs-on: ubuntu-latest |
|
|
|
timeout-minutes: 5 |
|
|
|
steps: |
|
|
|
- name: Check if author is org member or allowed bot |
|
|
|
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 |
|
|
|
|
|
|
|
@ -23,6 +23,7 @@ jobs: |
|
|
|
permissions: |
|
|
|
issues: write |
|
|
|
pull-requests: write |
|
|
|
timeout-minutes: 5 |
|
|
|
steps: |
|
|
|
- name: Dump GitHub context |
|
|
|
env: |
|
|
|
|
|
|
|
@ -13,6 +13,7 @@ jobs: |
|
|
|
runs-on: ubuntu-latest |
|
|
|
permissions: |
|
|
|
pull-requests: write |
|
|
|
timeout-minutes: 7 |
|
|
|
steps: |
|
|
|
- name: Dump GitHub context |
|
|
|
env: |
|
|
|
@ -28,6 +29,8 @@ jobs: |
|
|
|
- name: Setup uv |
|
|
|
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0 |
|
|
|
with: |
|
|
|
# Before upgrading uv version, make sure astral-sh/setup-uv knows its checksum. |
|
|
|
# See: https://github.com/astral-sh/setup-uv/issues/851#issuecomment-4282017837 |
|
|
|
version: "0.11.4" |
|
|
|
enable-cache: true |
|
|
|
cache-dependency-glob: | |
|
|
|
|
|
|
|
@ -17,6 +17,7 @@ jobs: |
|
|
|
contents: read |
|
|
|
pull-requests: write |
|
|
|
runs-on: ubuntu-latest |
|
|
|
timeout-minutes: 5 |
|
|
|
steps: |
|
|
|
- uses: actions/labeler@f27b608878404679385c85cfa523b85ccb86e213 # v6.1.0 |
|
|
|
if: ${{ github.event.action != 'labeled' && github.event.action != 'unlabeled' }} |
|
|
|
@ -28,6 +29,7 @@ jobs: |
|
|
|
permissions: |
|
|
|
pull-requests: read |
|
|
|
runs-on: ubuntu-latest |
|
|
|
timeout-minutes: 5 |
|
|
|
steps: |
|
|
|
- uses: agilepathway/label-checker@c3d16ad512e7cea5961df85ff2486bb774caf3c5 # v1.6.65 |
|
|
|
with: |
|
|
|
|
|
|
|
@ -22,6 +22,7 @@ jobs: |
|
|
|
latest-changes: |
|
|
|
runs-on: ubuntu-latest |
|
|
|
if: github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == true |
|
|
|
timeout-minutes: 5 |
|
|
|
steps: |
|
|
|
- name: Dump GitHub context |
|
|
|
env: |
|
|
|
|
|
|
|
@ -24,6 +24,7 @@ jobs: |
|
|
|
runs-on: ubuntu-latest |
|
|
|
permissions: |
|
|
|
discussions: write |
|
|
|
timeout-minutes: 5 |
|
|
|
steps: |
|
|
|
- name: Dump GitHub context |
|
|
|
env: |
|
|
|
@ -39,6 +40,8 @@ jobs: |
|
|
|
- name: Setup uv |
|
|
|
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0 |
|
|
|
with: |
|
|
|
# Before upgrading uv version, make sure astral-sh/setup-uv knows its checksum. |
|
|
|
# See: https://github.com/astral-sh/setup-uv/issues/851#issuecomment-4282017837 |
|
|
|
version: "0.11.4" |
|
|
|
enable-cache: true |
|
|
|
cache-dependency-glob: | |
|
|
|
|
|
|
|
@ -33,6 +33,8 @@ jobs: |
|
|
|
- name: Setup uv |
|
|
|
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0 |
|
|
|
with: |
|
|
|
# Before upgrading uv version, make sure astral-sh/setup-uv knows its checksum. |
|
|
|
# See: https://github.com/astral-sh/setup-uv/issues/851#issuecomment-4282017837 |
|
|
|
version: "0.11.4" |
|
|
|
enable-cache: true |
|
|
|
cache-dependency-glob: | |
|
|
|
|
|
|
|
@ -15,6 +15,7 @@ env: |
|
|
|
jobs: |
|
|
|
pre-commit: |
|
|
|
runs-on: ubuntu-latest |
|
|
|
timeout-minutes: 5 |
|
|
|
steps: |
|
|
|
- name: Dump GitHub context |
|
|
|
env: |
|
|
|
@ -48,6 +49,8 @@ jobs: |
|
|
|
- name: Setup uv |
|
|
|
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0 |
|
|
|
with: |
|
|
|
# Before upgrading uv version, make sure astral-sh/setup-uv knows its checksum. |
|
|
|
# See: https://github.com/astral-sh/setup-uv/issues/851#issuecomment-4282017837 |
|
|
|
version: "0.11.4" |
|
|
|
cache-dependency-glob: | |
|
|
|
pyproject.toml |
|
|
|
@ -84,6 +87,7 @@ jobs: |
|
|
|
needs: |
|
|
|
- pre-commit |
|
|
|
runs-on: ubuntu-latest |
|
|
|
timeout-minutes: 5 |
|
|
|
steps: |
|
|
|
- name: Dump GitHub context |
|
|
|
env: |
|
|
|
|
|
|
|
@ -13,6 +13,7 @@ jobs: |
|
|
|
permissions: |
|
|
|
id-token: write |
|
|
|
contents: read |
|
|
|
timeout-minutes: 5 |
|
|
|
steps: |
|
|
|
- name: Dump GitHub context |
|
|
|
env: |
|
|
|
@ -28,6 +29,8 @@ jobs: |
|
|
|
- name: Install uv |
|
|
|
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0 |
|
|
|
with: |
|
|
|
# Before upgrading uv version, make sure astral-sh/setup-uv knows its checksum. |
|
|
|
# See: https://github.com/astral-sh/setup-uv/issues/851#issuecomment-4282017837 |
|
|
|
version: "0.11.4" |
|
|
|
enable-cache: "false" |
|
|
|
- name: Build distribution |
|
|
|
|
|
|
|
@ -12,6 +12,7 @@ jobs: |
|
|
|
runs-on: ubuntu-latest |
|
|
|
permissions: |
|
|
|
statuses: write |
|
|
|
timeout-minutes: 5 |
|
|
|
|
|
|
|
steps: |
|
|
|
- name: Dump GitHub context |
|
|
|
@ -27,6 +28,8 @@ jobs: |
|
|
|
- name: Setup uv |
|
|
|
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0 |
|
|
|
with: |
|
|
|
# Before upgrading uv version, make sure astral-sh/setup-uv knows its checksum. |
|
|
|
# See: https://github.com/astral-sh/setup-uv/issues/851#issuecomment-4282017837 |
|
|
|
version: "0.11.4" |
|
|
|
cache-dependency-glob: | |
|
|
|
pyproject.toml |
|
|
|
|
|
|
|
@ -18,6 +18,7 @@ jobs: |
|
|
|
runs-on: ubuntu-latest |
|
|
|
permissions: |
|
|
|
contents: write |
|
|
|
timeout-minutes: 5 |
|
|
|
steps: |
|
|
|
- name: Dump GitHub context |
|
|
|
env: |
|
|
|
@ -33,6 +34,8 @@ jobs: |
|
|
|
- name: Setup uv |
|
|
|
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0 |
|
|
|
with: |
|
|
|
# Before upgrading uv version, make sure astral-sh/setup-uv knows its checksum. |
|
|
|
# See: https://github.com/astral-sh/setup-uv/issues/851#issuecomment-4282017837 |
|
|
|
version: "0.11.4" |
|
|
|
enable-cache: true |
|
|
|
cache-dependency-glob: | |
|
|
|
|
|
|
|
@ -14,6 +14,7 @@ permissions: {} |
|
|
|
jobs: |
|
|
|
test-redistribute: |
|
|
|
runs-on: ubuntu-latest |
|
|
|
timeout-minutes: 5 |
|
|
|
steps: |
|
|
|
- name: Dump GitHub context |
|
|
|
env: |
|
|
|
@ -57,6 +58,7 @@ jobs: |
|
|
|
needs: |
|
|
|
- test-redistribute |
|
|
|
runs-on: ubuntu-latest |
|
|
|
timeout-minutes: 5 |
|
|
|
steps: |
|
|
|
- name: Decide whether the needed jobs succeeded or failed |
|
|
|
uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe # v1.2.2 |
|
|
|
|
|
|
|
@ -25,6 +25,7 @@ jobs: |
|
|
|
permissions: |
|
|
|
pull-requests: read |
|
|
|
# Set job outputs to values from filter step |
|
|
|
timeout-minutes: 5 |
|
|
|
outputs: |
|
|
|
src: ${{ steps.filter.outputs.src }} |
|
|
|
steps: |
|
|
|
@ -50,6 +51,7 @@ jobs: |
|
|
|
needs: |
|
|
|
- changes |
|
|
|
if: needs.changes.outputs.src == 'true' || github.ref == 'refs/heads/master' |
|
|
|
timeout-minutes: 10 |
|
|
|
strategy: |
|
|
|
matrix: |
|
|
|
os: [ windows-latest, macos-latest ] |
|
|
|
@ -118,6 +120,8 @@ jobs: |
|
|
|
- name: Setup uv |
|
|
|
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0 |
|
|
|
with: |
|
|
|
# Before upgrading uv version, make sure astral-sh/setup-uv knows its checksum. |
|
|
|
# See: https://github.com/astral-sh/setup-uv/issues/851#issuecomment-4282017837 |
|
|
|
version: "0.11.4" |
|
|
|
enable-cache: true |
|
|
|
cache-dependency-glob: | |
|
|
|
@ -161,6 +165,7 @@ jobs: |
|
|
|
- changes |
|
|
|
if: needs.changes.outputs.src == 'true' || github.ref == 'refs/heads/master' |
|
|
|
runs-on: ubuntu-latest |
|
|
|
timeout-minutes: 5 |
|
|
|
env: |
|
|
|
UV_PYTHON: "3.13" |
|
|
|
UV_RESOLUTION: highest |
|
|
|
@ -179,6 +184,8 @@ jobs: |
|
|
|
- name: Setup uv |
|
|
|
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0 |
|
|
|
with: |
|
|
|
# Before upgrading uv version, make sure astral-sh/setup-uv knows its checksum. |
|
|
|
# See: https://github.com/astral-sh/setup-uv/issues/851#issuecomment-4282017837 |
|
|
|
version: "0.11.4" |
|
|
|
enable-cache: true |
|
|
|
cache-dependency-glob: | |
|
|
|
@ -196,6 +203,7 @@ jobs: |
|
|
|
needs: |
|
|
|
- test |
|
|
|
runs-on: ubuntu-latest |
|
|
|
timeout-minutes: 5 |
|
|
|
steps: |
|
|
|
- name: Dump GitHub context |
|
|
|
env: |
|
|
|
@ -210,6 +218,8 @@ jobs: |
|
|
|
- name: Setup uv |
|
|
|
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0 |
|
|
|
with: |
|
|
|
# Before upgrading uv version, make sure astral-sh/setup-uv knows its checksum. |
|
|
|
# See: https://github.com/astral-sh/setup-uv/issues/851#issuecomment-4282017837 |
|
|
|
version: "0.11.4" |
|
|
|
enable-cache: true |
|
|
|
cache-dependency-glob: | |
|
|
|
@ -241,6 +251,7 @@ jobs: |
|
|
|
- coverage-combine |
|
|
|
- benchmark |
|
|
|
runs-on: ubuntu-latest |
|
|
|
timeout-minutes: 5 |
|
|
|
steps: |
|
|
|
- name: Dump GitHub context |
|
|
|
env: |
|
|
|
|
|
|
|
@ -13,6 +13,7 @@ jobs: |
|
|
|
runs-on: ubuntu-latest |
|
|
|
permissions: |
|
|
|
contents: write |
|
|
|
timeout-minutes: 5 |
|
|
|
steps: |
|
|
|
- name: Dump GitHub context |
|
|
|
env: |
|
|
|
@ -28,6 +29,8 @@ jobs: |
|
|
|
- name: Setup uv |
|
|
|
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0 |
|
|
|
with: |
|
|
|
# Before upgrading uv version, make sure astral-sh/setup-uv knows its checksum. |
|
|
|
# See: https://github.com/astral-sh/setup-uv/issues/851#issuecomment-4282017837 |
|
|
|
version: "0.11.4" |
|
|
|
enable-cache: true |
|
|
|
cache-dependency-glob: | |
|
|
|
|
|
|
|
@ -60,6 +60,8 @@ jobs: |
|
|
|
- name: Setup uv |
|
|
|
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0 |
|
|
|
with: |
|
|
|
# Before upgrading uv version, make sure astral-sh/setup-uv knows its checksum. |
|
|
|
# See: https://github.com/astral-sh/setup-uv/issues/851#issuecomment-4282017837 |
|
|
|
version: "0.11.4" |
|
|
|
cache-dependency-glob: | |
|
|
|
pyproject.toml |
|
|
|
@ -101,6 +103,8 @@ jobs: |
|
|
|
- name: Setup uv |
|
|
|
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0 |
|
|
|
with: |
|
|
|
# Before upgrading uv version, make sure astral-sh/setup-uv knows its checksum. |
|
|
|
# See: https://github.com/astral-sh/setup-uv/issues/851#issuecomment-4282017837 |
|
|
|
version: "0.11.4" |
|
|
|
cache-dependency-glob: | |
|
|
|
pyproject.toml |
|
|
|
|
|
|
|
@ -0,0 +1,24 @@ |
|
|
|
name: Zizmor |
|
|
|
|
|
|
|
on: |
|
|
|
push: |
|
|
|
branches: |
|
|
|
- main |
|
|
|
workflow_dispatch: |
|
|
|
|
|
|
|
permissions: {} |
|
|
|
|
|
|
|
jobs: |
|
|
|
zizmor: |
|
|
|
name: Run zizmor |
|
|
|
runs-on: ubuntu-latest |
|
|
|
timeout-minutes: 5 |
|
|
|
permissions: |
|
|
|
security-events: write # Required for upload-sarif (used by zizmor-action) to upload SARIF files. |
|
|
|
steps: |
|
|
|
- name: Checkout repository |
|
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 |
|
|
|
with: |
|
|
|
persist-credentials: false |
|
|
|
- name: Run zizmor |
|
|
|
uses: zizmorcore/zizmor-action@b1d7e1fb5de872772f31590499237e7cce841e8e # v0.5.3 |
|
|
|
@ -96,6 +96,6 @@ repos: |
|
|
|
name: zizmor |
|
|
|
language: python |
|
|
|
entry: uv run zizmor . |
|
|
|
files: ^\.github\/workflows\/ |
|
|
|
files: ^\.github/workflows/|^uv\.lock$ |
|
|
|
require_serial: true |
|
|
|
pass_filenames: false |
|
|
|
|