File tree Expand file tree Collapse file tree 4 files changed +51
-13
lines changed
Expand file tree Collapse file tree 4 files changed +51
-13
lines changed Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+ - package-ecosystem : " github-actions"
4+ directory : " /"
5+ schedule :
6+ interval : " weekly"
7+ open-pull-requests-limit : 1
8+ groups :
9+ github-actions :
10+ patterns :
11+ - " *"
Original file line number Diff line number Diff line change 11---
22name : " Test"
33on :
4+ workflow_dispatch :
45 pull_request :
56 push :
7+ branches :
8+ - " 0.[0-9][0-9]"
69jobs :
710 test :
811 name : " Test"
9- runs-on : " ubuntu-22 .04"
12+ runs-on : " ubuntu-24 .04"
1013 steps :
1114 - name : " Check out repository"
12- uses : " actions/checkout@v4 "
15+ uses : " actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 " # v5.0.0
1316 - name : " Set up Python"
14- uses : " actions/setup-python@v5 "
17+ uses : " actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c " # v6.0.0
1518 with :
16- python-version : " 3.10 "
19+ python-version : " 3.12 "
1720 - name : " Get pip cache dir"
1821 id : " pip-cache"
1922 run : |
2023 echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
2124 - name : " Cache pip packages"
22- uses : " actions/cache@v3 "
25+ uses : " actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 " # v4.3.0
2326 with :
2427 path : " ${{ steps.pip-cache.outputs.dir }}"
2528 key : " ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}"
3740 make linkcheck
3841 lint :
3942 name : " Linting"
40- runs-on : " ubuntu-22 .04"
43+ runs-on : " ubuntu-24 .04"
4144 steps :
42- - uses : " actions/checkout@v4 "
43- - uses : " actions/setup-python@v5 "
44- - uses : " pre-commit/action@v3.0.1"
45+ - uses : " actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 " # v5.0.0
46+ - uses : " actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c " # v6.0.0
47+ - uses : " pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd " # v3.0.1
Original file line number Diff line number Diff line change 1+ name : " Validate GitHub Action pinning"
2+
3+ on :
4+ pull_request :
5+ paths :
6+ - " .github/workflows/**"
7+ push :
8+ branches :
9+ - " 0.[0-9][0-9]"
10+ paths :
11+ - " .github/workflows/**"
12+
13+ permissions :
14+ contents : " read"
15+
16+ jobs :
17+ enforce-pinning :
18+ name : " Enforce commit SHA pinning"
19+ runs-on : " ubuntu-latest"
20+ steps :
21+ - name : " Check out repository"
22+ uses : " actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8" # v5.0.0
23+ - name : " Ensure SHA-pinned Actions"
24+ uses : " zgosalvez/github-actions-ensure-sha-pinned-actions@9e9574ef04ea69da568d6249bd69539ccc704e74" # v4.0.0
Original file line number Diff line number Diff line change 11repos :
22- repo : " https://github.com/sphinx-contrib/sphinx-lint"
3- rev : " v0.9 .1"
3+ rev : " v1.0 .1"
44 hooks :
55 - id : " sphinx-lint"
66- repo : " https://github.com/igorshubovych/markdownlint-cli"
7- rev : " v0.39 .0"
7+ rev : " v0.45 .0"
88 hooks :
99 - id : " markdownlint"
1010- repo : " https://github.com/adrienverge/yamllint"
11- rev : " v1.34.0 "
11+ rev : " v1.37.1 "
1212 hooks :
1313 - id : " yamllint"
1414- repo : " https://github.com/pre-commit/pre-commit-hooks"
15- rev : " v4.5 .0"
15+ rev : " v6.0 .0"
1616 hooks :
1717 - id : " trailing-whitespace"
1818 - id : " end-of-file-fixer"
You can’t perform that action at this time.
0 commit comments