99 # At 12:00 UTC on every day-of-month
1010 - cron : " 0 12 */1 * *"
1111
12+ permissions :
13+ contents : read
14+
1215concurrency :
1316 group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
1417 cancel-in-progress : true
@@ -31,14 +34,16 @@ jobs:
3134 - { "py": "3.8", "tox_env": "py38" }
3235 steps :
3336 - name : setup python for tox
34- uses : actions/setup-python@v6.3.0
37+ uses : actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
3538 with :
3639 python-version : " 3.11"
3740 - name : install tox
3841 run : python -m pip install tox
39- - uses : actions/checkout@v7.0.0
42+ - uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
43+ with :
44+ persist-credentials : false
4045 - name : setup python for test ${{ matrix.py }}
41- uses : actions/setup-python@v6.3.0
46+ uses : actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
4247 with :
4348 python-version : ${{ matrix.py }}-dev
4449 - name : setup test suite ${{ matrix.tox_env }}
5055 name : check docs
5156 runs-on : ubuntu-22.04
5257 steps :
53- - uses : actions/checkout@v7.0.0
58+ - uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
59+ with :
60+ persist-credentials : false
5461 - name : setup Python 3.14
55- uses : actions/setup-python@v6.3.0
62+ uses : actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
5663 with :
5764 python-version : " 3.14"
5865 - name : install tox
@@ -66,14 +73,14 @@ jobs:
6673 name : lint
6774 runs-on : ubuntu-22.04
6875 steps :
69- - uses : actions/checkout@v7.0.0
76+ - uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
77+ with :
78+ persist-credentials : false
7079 # mypy needs to be run with the oldest Python version we support.
7180 - name : setup Python 3.8
72- uses : actions/setup-python@v6.3.0
81+ uses : actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
7382 with :
7483 python-version : " 3.8"
75- - name : Install prettier
76- run : npm install -g prettier
7784 - name : install tox
7885 run : python -m pip install tox
7986 - name : install lint dependencies
0 commit comments