Add Dependabot

This commit is contained in:
Luke Tainton (ltainton)
2024-02-05 19:59:40 +00:00
parent 39896a95eb
commit 5076e3d4f1
6 changed files with 53 additions and 11 deletions

1
.github/CODEOWNERS vendored Normal file
View File

@@ -0,0 +1 @@
* @luketainton

44
.github/dependabot.yml vendored Normal file
View File

@@ -0,0 +1,44 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
assignees:
- "luketainton"
reviewers:
- "luketainton"
commit-message:
prefix: "chore(actions)"
include: "scope"
labels:
- "dependencies"
- package-ecosystem: "docker"
directory: "/"
schedule:
interval: "daily"
assignees:
- "luketainton"
reviewers:
- "luketainton"
commit-message:
prefix: "chore(docker)"
include: "scope"
labels:
- "dependencies"
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "daily"
assignees:
- "luketainton"
reviewers:
- "luketainton"
commit-message:
prefix: "chore(pip-prod)"
prefix-development: "chore(pip-dev)"
include: "scope"
labels:
- "dependencies"

View File

@@ -5,14 +5,15 @@ on:
pull_request: pull_request:
types: [opened, synchronize, reopened] types: [opened, synchronize, reopened]
paths-ignore: paths-ignore:
- 'README.md' - "README.md"
- 'LICENSE.md' - "LICENSE.md"
- '.gitignore' - ".gitignore"
- 'CODEOWNERS' - "CODEOWNERS"
- 'renovate.json' - "renovate.json"
jobs: jobs:
ci: ci:
uses: luketainton/gha-workflows/.github/workflows/ci-python.yml@main uses: luketainton/gha-workflows/.github/workflows/ci-python.yml@main
secrets: secrets:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}

View File

@@ -3,7 +3,6 @@
"""Get 6to4 address from IPv4 address.""" """Get 6to4 address from IPv4 address."""
import argparse import argparse
import sentry_sdk
def parse_args(): # pragma: no cover def parse_args(): # pragma: no cover
@@ -21,7 +20,7 @@ def parse_args(): # pragma: no cover
def ipv4_to_ipv6(ipv4): def ipv4_to_ipv6(ipv4):
"""COnvert IPv4 address to IPv6.""" """Convert IPv4 address to IPv6."""
ipv4_hex = "" ipv4_hex = ""
ipv6_hextets = ["", ""] ipv6_hextets = ["", ""]
@@ -54,8 +53,6 @@ def ipv4_to_ipv6(ipv4):
def main(): # pragma: no cover def main(): # pragma: no cover
"""Main function.""" """Main function."""
sentry_sdk.init("https://14fab091f12c45d299569dcefd1bd716@app.glitchtip.com/1704")
ipv4 = parse_args().address ipv4 = parse_args().address
output = ipv4_to_ipv6(ipv4) output = ipv4_to_ipv6(ipv4)
print(output) print(output)

View File

@@ -1 +0,0 @@
sentry-sdk