Commit a8968c0 1 parent 585255d commit a8968c0 Copy full SHA for a8968c0
File tree 2 files changed +15
-9
lines changed
2 files changed +15
-9
lines changed Original file line number Diff line number Diff line change @@ -2,14 +2,16 @@ name: check diff
2
2
3
3
on :
4
4
push :
5
- tags :
6
- - ' *'
7
-
8
- permissions :
9
- contents : write
5
+ branches :
6
+ - ' main'
7
+ - ' v*'
8
+ pull_request :
9
+ branches :
10
+ - ' main'
11
+ - ' v*'
10
12
11
13
jobs :
12
- goreleaser :
14
+ check_diff :
13
15
runs-on : ubuntu-latest
14
16
steps :
15
17
- name : Checkout
23
25
go-version : stable
24
26
check-latest : true
25
27
26
- - name : Generate test
28
+ - name : Generate
27
29
run : |
28
30
make generate
29
31
Original file line number Diff line number Diff line change @@ -2,9 +2,13 @@ name: Go
2
2
3
3
on :
4
4
push :
5
- branches : [main]
5
+ branches :
6
+ - ' main'
7
+ - ' v*'
6
8
pull_request :
7
- branches : [main]
9
+ branches :
10
+ - ' main'
11
+ - ' v*'
8
12
schedule :
9
13
- cron : ' 0 8 * * 1' # run "At 08:00 on Monday"ma
10
14
You can’t perform that action at this time.
0 commit comments