Compare commits

...

4 Commits

Author SHA1 Message Date
GitHub Actions d1876b8dd7 fix: use RENOVATOR_TOKEN secret name 2025-12-14 00:30:45 +00:00
GitHub Actions eb6cf7f380 fix: use RENOVATE_TOKEN PAT for Renovate authentication 2025-12-14 00:23:21 +00:00
GitHub Actions 4331c798d9 fix: clean up .gitignore by removing VS Code settings while preserving shared configs 2025-12-14 00:20:27 +00:00
GitHub Actions c55932c41a fix: simplify Renovate workflow to use GITHUB_TOKEN directly 2025-12-14 00:19:16 +00:00
2 changed files with 3 additions and 25 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.RENOVATOR_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