Compare commits

...

2 Commits

Author SHA1 Message Date
44f7d66a48
add .pre-commit-config.yaml 2023-02-21 16:52:25 +02:00
64b20848f5
cff-validator.yml: bumb versions 2023-02-21 13:15:26 +02:00
2 changed files with 26 additions and 2 deletions

View File

@ -15,7 +15,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
# This is needed for workflows running on
# ubuntu-20.04 or later
@ -27,7 +27,7 @@ jobs:
uses: dieghernan/cff-validator@main
# Upload artifact
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
if: failure()
with:
name: citation-cff-errors

24
.pre-commit-config.yaml Normal file
View File

@ -0,0 +1,24 @@
# Remember to run `pre-commit install` at least once!
# Manual test run: `pre-commit run --all-files`
# Update? `pre-commit autoupdate`
#
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-case-conflict
- id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable
- id: destroyed-symlinks
- id: detect-private-key
- id: fix-byte-order-marker
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.21.0
hooks:
- id: check-dependabot
- id: check-github-actions
- id: check-github-workflows
- id: check-gitlab-ci