-
Notifications
You must be signed in to change notification settings - Fork 100
38 lines (36 loc) · 1.05 KB
/
go_dependencies.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Update Go Dependencies
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 0'
jobs:
go_dependencies:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: 'manageiq-operator/go.mod'
- name: Update all dependencies
run: |
go get -t -u ./...
go mod tidy
working-directory: ./manageiq-operator
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
add-paths: |
manageiq-operator/go.mod
manageiq-operator/go.sum
commit-message: Update go dependencies
branch: update_go_dependencies
assignees: bdunne
author: ManageIQ Bot <[email protected]>
committer: ManageIQ Bot <[email protected]>
delete-branch: true
labels: dependencies
push-to-fork: miq-bot/manageiq-pods
title: Update go dependencies
body: Update the operator dependencies in go.mod
token: ${{ secrets.PR_TOKEN }}