Skip to content

Commit

Permalink
Add renovate post update workflow (#322)
Browse files Browse the repository at this point in the history
  • Loading branch information
timebertt authored Aug 16, 2024
1 parent 6b67b65 commit c69628b
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/renovate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: renovate

on:
push:
branches:
- renovate/*

jobs:
post-update:
runs-on: ubuntu-latest

permissions:
contents: write

steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod

# Some dependency updates might require updating go.work.sum.
# Automatically run `make tidy` on renovate branches as long as renovate doesn't know how to handle go workspaces.
# Some dependency updates might require re-running code generation.
# Run `make generate` and commit all changes if any.
- run: make tidy generate
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: make tidy generate
commit_user_name: renovate[bot]
commit_user_email: 29139614+renovate[bot]@users.noreply.github.com
commit_author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

0 comments on commit c69628b

Please sign in to comment.