ci: introduce gobump gha
This commit is contained in:
parent
06d060c8df
commit
f0fb23f1af
1 changed files with 22 additions and 0 deletions
22
.github/workflows/gobump.yml
vendored
Normal file
22
.github/workflows/gobump.yml
vendored
Normal 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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue