Skip to content

Commit 3157407

Browse files
authored
Remove or protect secrets in Actions (#9544)
2 parents 5ada8c8 + eda14b6 commit 3157407

7 files changed

Lines changed: 15 additions & 16 deletions

File tree

.github/workflows/test-docker.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ jobs:
108108
with:
109109
flags: GHA_Docker
110110
name: ${{ matrix.docker }}
111-
token: ${{ secrets.CODECOV_ORG_TOKEN }}
112111

113112
success:
114113
permissions:

.github/workflows/test-mingw.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,3 @@ jobs:
9292
files: ./coverage.xml
9393
flags: GHA_Windows
9494
name: "MSYS2 MinGW"
95-
token: ${{ secrets.CODECOV_ORG_TOKEN }}

.github/workflows/test-windows.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,6 @@ jobs:
234234
files: ./coverage.xml
235235
flags: GHA_Windows
236236
name: ${{ runner.os }} Python ${{ matrix.python-version }}
237-
token: ${{ secrets.CODECOV_ORG_TOKEN }}
238237

239238
success:
240239
permissions:

.github/workflows/test.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,6 @@ jobs:
177177
with:
178178
flags: ${{ matrix.os == 'ubuntu-latest' && 'GHA_Ubuntu' || 'GHA_macOS' }}
179179
name: ${{ matrix.os }} Python ${{ matrix.python-version }}
180-
token: ${{ secrets.CODECOV_ORG_TOKEN }}
181180

182181
success:
183182
permissions:

.github/workflows/wheels.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,9 @@ jobs:
264264
needs: count-dists
265265
runs-on: ubuntu-latest
266266
name: Upload wheels to scientific-python-nightly-wheels
267+
environment:
268+
name: release-anaconda
269+
url: https://anaconda.org/channels/anaconda/packages/pillow/overview
267270
steps:
268271
- uses: actions/download-artifact@v8
269272
with:

.pre-commit-config.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
3-
rev: v0.15.4
3+
rev: v0.15.9
44
hooks:
55
- id: ruff-check
66
args: [--exit-non-zero-on-fix]
77

88
- repo: https://github.com/psf/black-pre-commit-mirror
9-
rev: 26.1.0
9+
rev: 26.3.1
1010
hooks:
1111
- id: black
1212

@@ -24,7 +24,7 @@ repos:
2424
exclude: (Makefile$|\.bat$|\.cmake$|\.eps$|\.fits$|\.gd$|\.opt$)
2525

2626
- repo: https://github.com/pre-commit/mirrors-clang-format
27-
rev: v22.1.0
27+
rev: v22.1.2
2828
hooks:
2929
- id: clang-format
3030
types: [c]
@@ -54,14 +54,14 @@ repos:
5454
exclude: ^\.github/.*TEMPLATE|^Tests/(fonts|images)/
5555

5656
- repo: https://github.com/python-jsonschema/check-jsonschema
57-
rev: 0.37.0
57+
rev: 0.37.1
5858
hooks:
5959
- id: check-github-workflows
6060
- id: check-readthedocs
6161
- id: check-renovate
6262

6363
- repo: https://github.com/zizmorcore/zizmor-pre-commit
64-
rev: v1.22.0
64+
rev: v1.23.1
6565
hooks:
6666
- id: zizmor
6767

@@ -71,7 +71,7 @@ repos:
7171
- id: sphinx-lint
7272

7373
- repo: https://github.com/tox-dev/pyproject-fmt
74-
rev: v2.16.2
74+
rev: v2.21.0
7575
hooks:
7676
- id: pyproject-fmt
7777

pyproject.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -186,12 +186,6 @@ lint.isort.required-imports = [
186186
[tool.pyproject-fmt]
187187
max_supported_python = "3.14"
188188

189-
[tool.pytest]
190-
addopts = [ "-ra", "--color=auto" ]
191-
testpaths = [
192-
"Tests",
193-
]
194-
195189
[tool.mypy]
196190
python_version = "3.10"
197191
pretty = true
@@ -203,3 +197,9 @@ follow_imports = "silent"
203197
warn_redundant_casts = true
204198
warn_unreachable = true
205199
warn_unused_ignores = true
200+
201+
[tool.pytest]
202+
addopts = [ "-ra", "--color=auto" ]
203+
testpaths = [
204+
"Tests",
205+
]

0 commit comments

Comments
 (0)