Compare commits

...

7 Commits

5 changed files with 7 additions and 29 deletions
+2 -19
View File
@@ -2,7 +2,7 @@ name: Renovate
on: on:
schedule: schedule:
- cron: '0 5 * * *' # daily 05:00 EST - cron: '0 5 * * *' # daily 05:00 UTC
workflow_dispatch: workflow_dispatch:
permissions: permissions:
@@ -18,28 +18,11 @@ jobs:
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6 uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
with: with:
fetch-depth: 1 fetch-depth: 1
- name: Choose Renovate Token
run: |
# Prefer explicit tokens (GITHUB_TOKEN > CPMP_TOKEN) if provided; otherwise use the default GITHUB_TOKEN
if [ -n "${{ secrets.GITHUB_TOKEN }}" ]; then
echo "Using GITHUB_TOKEN" >&2
echo "GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}" >> $GITHUB_ENV
else
echo "Using default GITHUB_TOKEN from Actions" >&2
echo "GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}" >> $GITHUB_ENV
fi
- name: Fail-fast if token not set
run: |
if [ -z "${{ env.GITHUB_TOKEN }}" ]; then
echo "ERROR: No Renovate token provided. Set GITHUB_TOKEN, CPMP_TOKEN, or rely on default GITHUB_TOKEN." >&2
exit 1
fi
- name: Run Renovate - name: Run Renovate
uses: renovatebot/github-action@502904f1cefdd70cba026cb1cbd8c53a1443e91b # v44.1.0 uses: renovatebot/github-action@502904f1cefdd70cba026cb1cbd8c53a1443e91b # v44.1.0
with: with:
configurationFile: .github/renovate.json configurationFile: .github/renovate.json
token: ${{ env.GITHUB_TOKEN }} token: ${{ secrets.RENOVATE_TOKEN }}
env: env:
LOG_LEVEL: info LOG_LEVEL: info
+1 -6
View File
@@ -81,12 +81,7 @@ charon.db
*~ *~
.DS_Store .DS_Store
*.xcf *.xcf
# VS Code - ignore settings but keep shared configs
.vscode/*
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
.vscode.backup*/
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# Logs & Temp Files # Logs & Temp Files
+2 -2
View File
@@ -48,7 +48,7 @@ RUN --mount=type=cache,target=/app/frontend/node_modules/.cache \
npm run build npm run build
# ---- Backend Builder ---- # ---- Backend Builder ----
FROM --platform=$BUILDPLATFORM golang:1.25.5-alpine AS backend-builder FROM --platform=$BUILDPLATFORM golang:1.23-alpine AS backend-builder
# Copy xx helpers for cross-compilation # Copy xx helpers for cross-compilation
COPY --from=xx / / COPY --from=xx / /
@@ -98,7 +98,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build \
# ---- Caddy Builder ---- # ---- Caddy Builder ----
# Build Caddy from source to ensure we use the latest Go version and dependencies # Build Caddy from source to ensure we use the latest Go version and dependencies
# This fixes vulnerabilities found in the pre-built Caddy images (e.g. CVE-2025-59530, stdlib issues) # This fixes vulnerabilities found in the pre-built Caddy images (e.g. CVE-2025-59530, stdlib issues)
FROM --platform=$BUILDPLATFORM golang:1.25.5-alpine AS caddy-builder FROM --platform=$BUILDPLATFORM golang:1.23-alpine AS caddy-builder
ARG TARGETOS ARG TARGETOS
ARG TARGETARCH ARG TARGETARCH
ARG CADDY_VERSION ARG CADDY_VERSION
+1 -1
View File
@@ -1,6 +1,6 @@
module github.com/Wikid82/charon/backend module github.com/Wikid82/charon/backend
go 1.25.5 go 1.23
require ( require (
github.com/containrrr/shoutrrr v0.8.0 github.com/containrrr/shoutrrr v0.8.0
+1 -1
View File
@@ -1,3 +1,3 @@
go 1.25.5 go 1.23
use ./backend use ./backend