-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add renovate post update workflow (#322)
- Loading branch information
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |