File tree 1 file changed +35
-0
lines changed
1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : PR dependabot go modules fix
2
+
3
+ # This action runs on PRs opened by dependabot and updates modules.
4
+ on :
5
+ pull_request :
6
+ branches :
7
+ - dependabot/**
8
+ push :
9
+ branches :
10
+ - dependabot/**
11
+ workflow_dispatch :
12
+
13
+ permissions :
14
+ contents : write # Allow to update the PR.
15
+
16
+ jobs :
17
+ build :
18
+ name : Build
19
+ runs-on : ubuntu-latest
20
+ steps :
21
+ - name : Check out code
22
+ uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # tag=v3.5.3
23
+ - name : Set up Go
24
+ uses : actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # tag=v4.0.1
25
+ with :
26
+ go-version : ' 1.20'
27
+ - name : Update all modules
28
+ run : make modules
29
+ - uses : EndBug/add-and-commit@1bad3abcf0d6ec49a5857d124b0bfb52dc7bb081 # tag=v9.1.3
30
+ name : Commit changes
31
+ with :
32
+ author_name : dependabot[bot]
33
+
34
+ default_author : github_actor
35
+ message : ' Update generated code'
You can’t perform that action at this time.
0 commit comments