Files
yellowjacket/.github/workflows/renovate.yml
T
loganandonion-4-dinner f521045540 chore(deps): update go dependencies (non-major) (#40)
* chore(deps): update go dependencies (non-major)

* fix: regenerate code and add postUpgradeTasks for Renovate

Regenerate templ and sqlc output to match bumped tool versions.
Configure Renovate postUpgradeTasks to run 'go generate ./...' after
Go dependency updates, preventing stale generated files in future PRs.

---------

Co-authored-by: onion-4-dinner <15676555+onion-4-dinner@users.noreply.github.com>
2026-02-14 01:17:59 -06:00

39 lines
1.1 KiB
YAML

name: Renovate
run-name: Renovate — Dependency Updates
on:
# Run on a schedule (every 6 hours) to discover new updates.
schedule:
- cron: "0 */6 * * *"
# Allow manual runs for testing or forcing an update check.
workflow_dispatch:
# Only one Renovate run at a time.
concurrency:
group: renovate
cancel-in-progress: false
jobs:
renovate:
name: Renovate
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Go is required for postUpgradeTasks (go generate runs templ + sqlc).
- uses: actions/setup-go@v5
with:
go-version: "1.25"
- name: Run Renovate
uses: renovatebot/github-action@v46.1.0
with:
configurationFile: renovate.json5
token: ${{ secrets.RENOVATE_TOKEN }}
env:
LOG_LEVEL: info
RENOVATE_REPOSITORIES: ${{ github.repository }}
RENOVATE_GIT_AUTHOR: "onion-4-dinner <15676555+onion-4-dinner@users.noreply.github.com>"
# Allow postUpgradeTasks commands defined in renovate.json5.
RENOVATE_ALLOW_POST_UPGRADE_COMMANDS: "true"