Compare commits

..

No commits in common. "main" and "v1.0.2" have entirely different histories.
main ... v1.0.2

4 changed files with 4 additions and 31 deletions

View file

@ -1,4 +1,4 @@
FROM python:3.14-slim@sha256:2751cbe93751f0147bc1584be957c6dd4c5f977c3d4e0396b56456a9fd4ed137 FROM python:3.11-slim
# Install deps # Install deps
COPY requirements.txt . COPY requirements.txt .

View file

@ -10,12 +10,6 @@ import semver
from requests.adapters import HTTPAdapter from requests.adapters import HTTPAdapter
from urllib3 import Retry from urllib3 import Retry
print("DEBUG: env vars seen by Python")
for k, v in os.environ.items():
if k.startswith("INPUT_"):
print(f"{k}={v}")
@dataclass @dataclass
class LabelConfig: class LabelConfig:
priority: int priority: int
@ -51,7 +45,7 @@ class ReleaseManager:
"""Validate all required environment variables are present.""" """Validate all required environment variables are present."""
required_vars = { required_vars = {
"FORGEJO_API_URL": os.getenv("INPUT_ENDPOINT"), "FORGEJO_API_URL": os.getenv("INPUT_ENDPOINT"),
"REPO": os.getenv("INPUT_REPO"), "REPO": os.getenv("INPUT_REPO")
"FORGEJO_TOKEN": os.getenv("INPUT_TOKEN"), "FORGEJO_TOKEN": os.getenv("INPUT_TOKEN"),
} }

View file

@ -1,20 +0,0 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"local>entwirr.me/renovate-config"
],
"commitMessagePrefix": "chore(deps):",
"enabledManagers": ["dockerfile", "github-actions", "pip_requirements"],
"rangeStrategy": "update-lockfile",
"updatePinnedDependencies": true,
"packageRules": [
{
"matchPackageNames": ["*"],
"matchUpdateTypes": ["major", "minor", "patch", "pin", "digest"]
},
{
"matchManagers": ["composer", "github-actions", "pip_requirements"],
"addLabels": ["chore"]
}
]
}

View file

@ -1,3 +1,2 @@
requests~=2.32.5 requests
semver~=3.0.4 semver
urllib3~=2.6.0