File tree 6 files changed +24
-0
lines changed
6 files changed +24
-0
lines changed Original file line number Diff line number Diff line change 1
1
on : [push, pull_request]
2
2
name : Build Test
3
+ permissions :
4
+ contents : read
5
+
3
6
jobs :
4
7
build_test_v3 :
5
8
strategy :
Original file line number Diff line number Diff line change @@ -2,8 +2,14 @@ name: "Pull Request Labeler"
2
2
on :
3
3
- pull_request_target
4
4
5
+ permissions :
6
+ contents : read
7
+
5
8
jobs :
6
9
triage :
10
+ permissions :
11
+ contents : read # for actions/labeler to determine modified files
12
+ pull-requests : write # for actions/labeler to add labels to PRs
7
13
runs-on : ubuntu-latest
8
14
steps :
9
15
- uses : actions/labeler@v4
Original file line number Diff line number Diff line change 4
4
push :
5
5
pull_request :
6
6
7
+ permissions :
8
+ contents : read
9
+
7
10
jobs :
8
11
golangci :
12
+ permissions :
13
+ contents : read # for actions/checkout to fetch code
14
+ pull-requests : read # for golangci/golangci-lint-action to fetch pull requests
9
15
name : lint
10
16
runs-on : ubuntu-latest
11
17
steps :
Original file line number Diff line number Diff line change 3
3
- cron : ' 0 1 1 * *' # UTC 01:00 on the first day of the Month
4
4
5
5
name : Release
6
+ permissions :
7
+ contents : read
8
+
6
9
jobs :
7
10
release :
8
11
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 1
1
on : [push, pull_request]
2
2
name : Shellcheck
3
+ permissions :
4
+ contents : read
5
+
3
6
jobs :
4
7
shellcheck :
5
8
name : Shellcheck
Original file line number Diff line number Diff line change 1
1
on : [push, pull_request]
2
2
name : Test
3
+ permissions :
4
+ contents : read
5
+
3
6
jobs :
4
7
test_v3_module :
5
8
strategy :
You can’t perform that action at this time.
0 commit comments