ci: introduce gobump gha

This commit is contained in:
Lukas Zapletal 2025-06-25 15:05:01 +02:00 committed by Lukáš Zapletal
parent 06d060c8df
commit f0fb23f1af

22
.github/workflows/gobump.yml vendored Normal file
View file

@ -0,0 +1,22 @@
---
name: "Updates Go dependencies via gobump"
on: # yamllint disable-line rule:truthy
workflow_dispatch:
schedule:
# Every Sunday at 15:00
- cron: "0 15 * * 0"
jobs:
bump-deps-ubuntu:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run gobump-deps action
uses: lzap/gobump@v1
with:
go_version: "1.22.0"
token: ${{ secrets.GITHUB_TOKEN }}
exec_pr: ./tools/prepare-source.sh