@@ -40,11 +40,10 @@ jobs:
40
40
token : ${{ secrets.GOLANGCI_LINT_TOKEN }}
41
41
branch-suffix : timestamp
42
42
title : " docs: update documentation"
43
- team-reviewers : golangci/team
44
43
delete-branch : true
45
44
46
- update-assets :
47
- name : " Update assets"
45
+ update-gha- assets :
46
+ name : " Update GitHub Action assets"
48
47
runs-on : ubuntu-latest
49
48
env :
50
49
GITHUB_TOKEN : ${{ secrets.GOLANGCI_LINT_TOKEN }}
59
58
# - 1.18rc1 -> 1.18.0-rc.1
60
59
go-version : ' 1.22'
61
60
62
- - name : Update GitHub action config
61
+ - name : Update GitHub Action config
63
62
run : make assets/github-action-config.json
64
63
65
64
- name : Update reference files
77
76
base : master
78
77
token : ${{ secrets.GOLANGCI_LINT_TOKEN }}
79
78
branch-suffix : timestamp
80
- title : " docs: update assets"
81
- team-reviewers : golangci/team
79
+ title : " docs: update GitHub Action assets"
80
+ delete-branch : true
81
+
82
+ update-assets :
83
+ name : " Update documentation assets"
84
+ runs-on : ubuntu-latest
85
+ env :
86
+ GITHUB_TOKEN : ${{ secrets.GOLANGCI_LINT_TOKEN }}
87
+ steps :
88
+ - uses : actions/checkout@v4
89
+ - name : Install Go
90
+ uses : actions/setup-go@v5
91
+ with :
92
+ # https://github.com/actions/setup-go#supported-version-syntax
93
+ # ex:
94
+ # - 1.18beta1 -> 1.18.0-beta.1
95
+ # - 1.18rc1 -> 1.18.0-rc.1
96
+ go-version : ' 1.22'
97
+
98
+ - name : Update reference files
99
+ run : cp .golangci.next.reference.yml .golangci.reference.yml
100
+
101
+ - name : Update JSON schema files
102
+ run : cp jsonschema/golangci.next.jsonschema.json jsonschema/golangci.jsonschema.json
103
+
104
+ - name : Update information
105
+ run : make website_dump_info
106
+
107
+ - name : Create Pull Request
108
+ uses : peter-evans/create-pull-request@v6
109
+ with :
110
+ base : master
111
+ token : ${{ secrets.GOLANGCI_LINT_TOKEN }}
112
+ branch-suffix : timestamp
113
+ title : " docs: update documentation assets"
82
114
delete-branch : true
0 commit comments