mirror of
https://github.com/netbox-community/devicetype-library.git
synced 2024-12-22 15:13:06 +01:00
Adding dependabot & updating reqirements (#1026)
* Added dependabot template * Testing dependabot * Testing dependabot * Added dependabot config. Updated pre-commit config to ignore the dependabot yaml file. Updated requirements. * Added myself to the dependabot assignee list * Fixed missing newline in dependabot config * adding pre-commit to requirements * Update dependabot.yml * Update dependabot.yml * Update dependabot.yml Changed schedule to montly * Modified Actions validation & pre-commit config - Fixed spacing and newline issues in actions validation file - Modified pre-commit config to only scan device-types and module-types, same as the validation action
This commit is contained in:
parent
e0be5b363e
commit
f56d641a1b
14
.github/dependabot.yml
vendored
Normal file
14
.github/dependabot.yml
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
---
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: pip
|
||||
directory: /
|
||||
schedule:
|
||||
interval: monthly
|
||||
time: '02:00'
|
||||
timezone: America/New_York
|
||||
labels:
|
||||
- dependencies
|
||||
target-branch: master
|
||||
assignees:
|
||||
- "danner26"
|
5
.github/workflows/validation.yml
vendored
5
.github/workflows/validation.yml
vendored
@ -1,12 +1,9 @@
|
||||
---
|
||||
name: Validate definitions
|
||||
|
||||
|
||||
on: # yamllint disable-line rule:truthy
|
||||
on: # yamllint disable-line rule:truthy
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -1,4 +1,5 @@
|
||||
---
|
||||
files: ^(device-types|module-types)/
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.3.0
|
||||
|
@ -1,4 +1,5 @@
|
||||
jsonschema==3.2.0
|
||||
pytest==5.3.2
|
||||
PyYAML==5.4
|
||||
yamllint==1.27.1
|
||||
jsonschema==4.17.3
|
||||
pre-commit==2.21.0
|
||||
pytest==7.2.0
|
||||
PyYAML==6.0
|
||||
yamllint==1.28.0
|
||||
|
Loading…
Reference in New Issue
Block a user