Skip to content

Commit 84adbe6

Browse files
authored
Clean up workflows; run pre-commit autoupdate (#224)
* Clean up workflows; run pre-commit autoupdate * YAML lint fixups
1 parent 0409481 commit 84adbe6

6 files changed

Lines changed: 17 additions & 14 deletions

File tree

.github/linters/.yaml-lint.yml

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

44
rules:
5+
comments:
6+
min-spaces-from-content: 1
57
document-start: disable
68
line-length: disable
79
truthy: disable

.github/workflows/fetch-daily.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ jobs:
1313

1414
steps:
1515
- name: Checkout main branch
16-
uses: actions/checkout@v6
16+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1717

1818
- name: Set up Python
19-
uses: actions/setup-python@v6
19+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
2020
with:
21-
python-version: '3.14.2'
21+
python-version: '3.14'
2222
architecture: 'x64'
2323

2424
- name: Install dependencies

.github/workflows/pre-commit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: 'Checkout ${{ github.ref }} ( ${{ github.sha }} )'
18-
uses: actions/checkout@v6
18+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1919

20-
- uses: actions/setup-python@v6
20+
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
2121
with:
2222
python-version: '3.14.2'
2323
architecture: 'x64'

.github/workflows/render-on-push.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ jobs:
2121
contents: write
2222
steps:
2323
- name: Checkout main branch
24-
uses: actions/checkout@v6
24+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2525

2626
- name: Set up Python
27-
uses: actions/setup-python@v6
27+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
2828
with:
2929
python-version: '3.14.2'
3030
architecture: 'x64'
@@ -38,7 +38,7 @@ jobs:
3838
run: python render.py
3939

4040
- name: Deploy to GitHub Pages
41-
uses: peaceiris/actions-gh-pages@v4
41+
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0
4242
with:
4343
github_token: ${{ secrets.GITHUB_TOKEN }}
4444
publish_dir: ./docs

.github/workflows/super-linter.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,13 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- name: Checkout code
19-
uses: actions/checkout@v6
19+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2020
with:
2121
fetch-depth: 0
22+
persist-credentials: false
2223

2324
- name: Run Super-Linter
24-
uses: super-linter/super-linter@v8
25+
uses: super-linter/super-linter@9e863354e3ff62e0727d37183162c4a88873df41 # v8.6.0
2526
env:
2627
DEFAULT_BRANCH: main
2728
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ repos:
1818
language: node
1919
additional_dependencies: ['prettier@3.7.4']
2020
- repo: https://github.com/pycqa/isort
21-
rev: 7.0.0
21+
rev: 8.0.1
2222
hooks:
2323
- id: isort
2424
name: isort (python imports)
2525
language: python
2626
types: [python]
2727
files: \.py$
2828
- repo: https://github.com/psf/black-pre-commit-mirror
29-
rev: 25.12.0
29+
rev: 26.3.1
3030
hooks:
3131
- id: black
3232
- repo: https://github.com/pypa/pip-audit
@@ -72,7 +72,7 @@ repos:
7272
name: run check for no unicode replacement char
7373
description: Forbid files which have a UTF-8 Unicode replacement character
7474
- repo: https://github.com/igorshubovych/markdownlint-cli
75-
rev: v0.47.0
75+
rev: v0.48.0
7676
hooks:
7777
- id: markdownlint
7878
name: run markdownlint
@@ -81,7 +81,7 @@ repos:
8181
types: [markdown]
8282
files: \.md$
8383
- repo: https://github.com/adrienverge/yamllint
84-
rev: v1.37.1
84+
rev: v1.38.0
8585
hooks:
8686
- id: yamllint
8787
name: run yamllint

0 commit comments

Comments
 (0)