Skip to content

Commit 4427767

Browse files
authored
Merge branch 'main' into mode_enums
2 parents 3ba2ea7 + 7fe56d6 commit 4427767

20 files changed

+68
-26
lines changed

.github/renovate.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,21 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
33
"extends": [
4-
"config:base"
4+
"config:recommended"
55
],
66
"labels": [
77
"Dependency"
88
],
99
"packageRules": [
1010
{
1111
"groupName": "github-actions",
12-
"matchManagers": ["github-actions"],
13-
"separateMajorMinor": "false"
12+
"matchManagers": [
13+
"github-actions"
14+
],
15+
"separateMajorMinor": false
1416
}
1517
],
16-
"schedule": ["on the 3rd day of the month"]
18+
"schedule": [
19+
"on the 3rd day of the month"
20+
]
1721
}

.github/workflows/docs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ jobs:
3333

3434
steps:
3535
- uses: actions/checkout@v4
36+
with:
37+
persist-credentials: false
3638

3739
- name: Set up Python
3840
uses: actions/setup-python@v5

.github/workflows/lint.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121

2222
steps:
2323
- uses: actions/checkout@v4
24+
with:
25+
persist-credentials: false
2426

2527
- name: pre-commit cache
2628
uses: actions/cache@v4

.github/workflows/stale.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
workflow_dispatch:
77

88
permissions:
9-
issues: write
9+
contents: read
1010

1111
concurrency:
1212
group: ${{ github.workflow }}-${{ github.ref }}
@@ -15,6 +15,8 @@ concurrency:
1515
jobs:
1616
stale:
1717
if: github.repository_owner == 'python-pillow'
18+
permissions:
19+
issues: write
1820

1921
runs-on: ubuntu-latest
2022

.github/workflows/test-cygwin.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ jobs:
4848
4949
- name: Checkout Pillow
5050
uses: actions/checkout@v4
51+
with:
52+
persist-credentials: false
5153

5254
- name: Install Cygwin
5355
uses: cygwin/cygwin-install-action@v4

.github/workflows/test-docker.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ jobs:
4747
debian-12-bookworm-x86,
4848
debian-12-bookworm-amd64,
4949
fedora-40-amd64,
50+
fedora-41-amd64,
5051
gentoo,
5152
ubuntu-22.04-jammy-amd64,
5253
ubuntu-24.04-noble-amd64,
@@ -64,6 +65,8 @@ jobs:
6465

6566
steps:
6667
- uses: actions/checkout@v4
68+
with:
69+
persist-credentials: false
6770

6871
- name: Build system information
6972
run: python3 .github/workflows/system-info.py
@@ -101,7 +104,6 @@ jobs:
101104
with:
102105
flags: GHA_Docker
103106
name: ${{ matrix.docker }}
104-
gcov: true
105107
token: ${{ secrets.CODECOV_ORG_TOKEN }}
106108

107109
success:

.github/workflows/test-mingw.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ jobs:
4646
steps:
4747
- name: Checkout Pillow
4848
uses: actions/checkout@v4
49+
with:
50+
persist-credentials: false
4951

5052
- name: Set up shell
5153
run: echo "C:\msys64\usr\bin\" >> $env:GITHUB_PATH

.github/workflows/test-valgrind.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ jobs:
4040

4141
steps:
4242
- uses: actions/checkout@v4
43+
with:
44+
persist-credentials: false
4345

4446
- name: Build system information
4547
run: python3 .github/workflows/system-info.py

.github/workflows/test-windows.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,16 +44,20 @@ jobs:
4444
steps:
4545
- name: Checkout Pillow
4646
uses: actions/checkout@v4
47+
with:
48+
persist-credentials: false
4749

4850
- name: Checkout cached dependencies
4951
uses: actions/checkout@v4
5052
with:
53+
persist-credentials: false
5154
repository: python-pillow/pillow-depends
5255
path: winbuild\depends
5356

5457
- name: Checkout extra test images
5558
uses: actions/checkout@v4
5659
with:
60+
persist-credentials: false
5761
repository: python-pillow/test-images
5862
path: Tests\test-images
5963

@@ -80,6 +84,12 @@ jobs:
8084
pytest-cov
8185
pytest-timeout
8286
87+
- name: Install CPython dependencies
88+
if: "!contains(matrix.python-version, 'pypy')"
89+
run: >
90+
python3 -m pip install
91+
PyQt6
92+
8393
- name: Install dependencies
8494
id: install
8595
run: |

.github/workflows/test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ jobs:
6363

6464
steps:
6565
- uses: actions/checkout@v4
66+
with:
67+
persist-credentials: false
6668

6769
- name: Set up Python ${{ matrix.python-version }}
6870
uses: actions/setup-python@v5
@@ -158,7 +160,6 @@ jobs:
158160
with:
159161
flags: ${{ matrix.os == 'ubuntu-latest' && 'GHA_Ubuntu' || 'GHA_macOS' }}
160162
name: ${{ matrix.os }} Python ${{ matrix.python-version }}
161-
gcov: true
162163
token: ${{ secrets.CODECOV_ORG_TOKEN }}
163164

164165
success:

0 commit comments

Comments
 (0)