File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7474 conda-recipe-cf
7575
7676 - name : Upload artifact
77- uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6 .0.0
77+ uses : actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7 .0.0
7878 with :
7979 name : ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
8080 path : /usr/share/miniconda/conda-bld/linux-64/${{ env.PACKAGE_NAME }}-*.conda
9595
9696 steps :
9797 - name : Download artifact
98- uses : actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7 .0.0
98+ uses : actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8 .0.0
9999 with :
100100 name : ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python_ver }}
101101
@@ -211,7 +211,7 @@ jobs:
211211 echo "CONDA_BLD=$CONDA/conda-bld/win-64/" | tr "\\\\" '/' >> $GITHUB_ENV
212212
213213 - name : Upload artifact
214- uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6 .0.0
214+ uses : actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7 .0.0
215215 with :
216216 name : ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
217217 path : ${{ env.CONDA_BLD }}${{ env.PACKAGE_NAME }}-*.conda
@@ -236,7 +236,7 @@ jobs:
236236
237237 steps :
238238 - name : Download artifact
239- uses : actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7 .0.0
239+ uses : actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8 .0.0
240240 with :
241241 name : ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python_ver }}
242242
Original file line number Diff line number Diff line change 6666 conda-recipe
6767
6868 - name : Upload artifact
69- uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6 .0.0
69+ uses : actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7 .0.0
7070 with :
7171 name : ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
7272 path : /usr/share/miniconda/conda-bld/linux-64/${{ env.PACKAGE_NAME }}-*.conda
8686
8787 steps :
8888 - name : Download artifact
89- uses : actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7 .0.0
89+ uses : actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8 .0.0
9090 with :
9191 name : ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
9292
@@ -206,7 +206,7 @@ jobs:
206206 echo "CONDA_BLD=$CONDA/conda-bld/win-64/" | tr "\\\\" '/' >> $GITHUB_ENV
207207
208208 - name : Upload artifact
209- uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6 .0.0
209+ uses : actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7 .0.0
210210 with :
211211 name : ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
212212 path : ${{ env.CONDA_BLD }}${{ env.PACKAGE_NAME }}-*.conda
@@ -230,7 +230,7 @@ jobs:
230230
231231 steps :
232232 - name : Download artifact
233- uses : actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7 .0.0
233+ uses : actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8 .0.0
234234 with :
235235 name : ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
236236
Original file line number Diff line number Diff line change @@ -61,14 +61,14 @@ jobs:
6161 # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
6262 # format to the repository Actions tab.
6363 - name : " Upload artifact"
64- uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6 .0.0
64+ uses : actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7 .0.0
6565 with :
6666 name : SARIF file
6767 path : results.sarif
6868 retention-days : 14
6969
7070 # Upload the results to GitHub's code scanning dashboard.
7171 - name : " Upload to code-scanning"
72- uses : github/codeql-action/upload-sarif@9e907b5e64f6b83e7804b09294d44122997950d6 # v4.32.3
72+ uses : github/codeql-action/upload-sarif@89a39a4e59826350b863aa6b6252a07ad50cf83e # v4.32.4
7373 with :
7474 sarif_file : results.sarif
Original file line number Diff line number Diff line change 1+ name : Autoupdate pre-commit
2+
3+ on :
4+ workflow_dispatch :
5+ branch_protection_rule :
6+ # To guarantee Maintained check is occasionally updated. See
7+ # https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained
8+ schedule :
9+ - cron : ' 28 2 * * 6' # Saturday at 02:28 UTC
10+
11+ permissions : read-all
12+
13+ jobs :
14+ autoupdate :
15+ name : Autoupdate
16+
17+ runs-on : ubuntu-latest
18+ timeout-minutes : 10
19+
20+ permissions :
21+ # Needed to create a PR with autoupdate changes
22+ contents : write
23+ pull-requests : write
24+
25+ steps :
26+ - name : Checkout repo
27+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
28+
29+ - name : Set up python
30+ uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
31+ with :
32+ python-version : ' 3.14'
33+
34+ - name : Install pre-commit
35+ run : pip install pre-commit
36+
37+ - name : Run pre-commit autoupdate
38+ run : pre-commit autoupdate
39+
40+ - name : Create a PR with autoupdate changes
41+ uses : peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0
42+ with :
43+ commit-message : ' chore: update pre-commit hooks'
44+ add-paths : .pre-commit-config.yaml
45+ branch : ' bot/pre-commit-autoupdate'
46+ delete-branch : true
47+ title : Weekly pre-commit autoupdate
48+ body : |
49+ This PR updates the `.pre-commit-config.yaml` using `pre-commit autoupdate`.
50+ labels : autoupdate
Original file line number Diff line number Diff line change 11repos :
22- repo : https://github.com/pre-commit/pre-commit-hooks
3- rev : v5 .0.0
3+ rev : v6 .0.0
44 hooks :
55 - id : check-ast
66 - id : check-builtin-literals
3838 - tomli
3939
4040- repo : https://github.com/psf/black
41- rev : 25 .1.0
41+ rev : 26 .1.0
4242 hooks :
4343 - id : black
4444 exclude : " _vendored/conv_template.py"
@@ -50,13 +50,13 @@ repos:
5050 args : ["-i"]
5151
5252- repo : https://github.com/MarcoGorelli/cython-lint
53- rev : v0.16.6
53+ rev : v0.19.0
5454 hooks :
5555 - id : cython-lint
5656 - id : double-quote-cython-strings
5757
5858- repo : https://github.com/pycqa/flake8
59- rev : 7.1.2
59+ rev : 7.3.0
6060 hooks :
6161 - id : flake8
6262 args : ["--config=.flake8"]
6565 - flake8-bugbear==24.4.26
6666
6767- repo : https://github.com/pycqa/isort
68- rev : 6 .0.1
68+ rev : 8 .0.0
6969 hooks :
7070 - id : isort
7171 name : isort (python)
7777 types : [pyi]
7878
7979- repo : https://github.com/macisamuele/language-formatters-pre-commit-hooks
80- rev : v2.14 .0
80+ rev : v2.16 .0
8181 hooks :
8282 - id : pretty-format-toml
8383 args : [--autofix]
You can’t perform that action at this time.
0 commit comments