Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
- package-ecosystem: github-actions
directory: /
schedule:
interval: daily
open-pull-requests-limit: 10
open-pull-requests-limit: 2
35 changes: 11 additions & 24 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,24 @@ name: Lint

"on":
push:
branches:
- main
branches: [main]
pull_request:
branches: [main]

jobs:
actionlint:
pre-commit:
runs-on: ubuntu-latest
steps:
# https://github.com/actions/checkout
- name: checkout
uses: actions/checkout@v4

# https://github.com/rhysd/actionlint
- name: run actionlint
uses: docker://rhysd/actionlint:latest
with:
args: -color

pre-commit:
runs-on: ubuntu-latest
steps:
# https://github.com/actions/checkout
- name: checkout
uses: actions/checkout@v4

# https://github.com/actions/setup-python
- name: sest up python
uses: actions/setup-python@v5
# https://github.com/actions/setup-python
- name: setup python
uses: actions/setup-python@v5

# https://github.com/pre-commit/action
- name: run pre-commit
uses: pre-commit/action@v3.0.1
env:
SKIP: no-commit-to-branch
# https://github.com/pre-commit/action
- name: run pre-commit
uses: pre-commit/action@v3.0.1
env:
SKIP: no-commit-to-branch
48 changes: 33 additions & 15 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,37 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-added-large-files
- id: check-case-conflict
- id: check-merge-conflict
- id: check-symlinks
- id: mixed-line-ending
- id: check-added-large-files
- id: check-case-conflict
- id: check-merge-conflict
- id: check-symlinks
- id: mixed-line-ending
args:
- --fix=lf
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: detect-private-key
- id: no-commit-to-branch
- --fix=lf
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: detect-private-key
- id: no-commit-to-branch
args:
- --branch
- main
- --branch
- main
- repo: https://github.com/rhysd/actionlint
rev: v1.7.7
hooks:
- id: actionlint-docker
name: check github workflows with actionlint

# suspending this as of 1-May-2025: I can't get this hook to stop
# over-indenting the entire .pre-commit-hooks.yaml file by 2 spaces
# - repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt
# rev: 0.2.3
# hooks:
# - id: yamlfmt
# args:
# - --mapping=2
# - --sequence=4
# - --offset=2
# - --implicit_start
# - --preserve-quotes
8 changes: 0 additions & 8 deletions .yamllint.yaml

This file was deleted.

Loading