File tree Expand file tree Collapse file tree 9 files changed +48
-8
lines changed Expand file tree Collapse file tree 9 files changed +48
-8
lines changed File renamed without changes.
Original file line number Diff line number Diff line change 99
99
"matchUpdateTypes" : [ "major" ] ,
100
100
"enabled" : false ,
101
101
}
102
+ ] ,
103
+ "customManagers" : [
104
+ {
105
+ "customType" : "regex" ,
106
+ "datasourceTemplate" : "npm" ,
107
+ "fileMatch" : [
108
+ "^.github/workflows/"
109
+ ] ,
110
+ "matchStrings" : [
111
+ "npx (?<depName>[^@]+)@(?<currentValue>[^\\s]+)"
112
+ ]
113
+ }
102
114
]
103
115
}
Original file line number Diff line number Diff line change 8
8
# because repository write permission is needed to assign reviewers
9
9
pull_request_target :
10
10
11
+ permissions :
12
+ contents : read
13
+
11
14
jobs :
12
15
assign-reviewers :
16
+ permissions :
17
+ contents : read
18
+ pull-requests : write # for assigning reviewers
13
19
runs-on : ubuntu-latest
14
20
steps :
15
21
- uses : open-telemetry/assign-reviewers-action@b101a9c17274e3d4fff0853898007e9e3a366675 # main
Original file line number Diff line number Diff line change 8
8
pull_request :
9
9
workflow_dispatch :
10
10
11
+ permissions :
12
+ contents : read
13
+
11
14
concurrency :
12
15
group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
13
16
cancel-in-progress : true
Original file line number Diff line number Diff line change 1
- name : Issue management - remove needs feedback label
1
+ name : Issue management - remove labels as needed
2
2
3
3
on :
4
4
issue_comment :
5
5
types : [created]
6
6
7
+ permissions :
8
+ contents : read
9
+
7
10
jobs :
8
11
issue_comment :
12
+ permissions :
13
+ contents : read
14
+ issues : write
9
15
if : >
10
16
contains(github.event.issue.labels.*.name, 'needs author feedback') &&
11
17
github.event.comment.user.login == github.event.issue.user.login
12
18
runs-on : ubuntu-latest
13
19
steps :
14
20
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
15
21
16
- - name : Remove label
22
+ - name : Remove labels
17
23
env :
18
24
ISSUE_NUMBER : ${{ github.event.issue.number }}
19
25
GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
20
26
run : |
21
27
gh issue edit --remove-label "needs author feedback" $ISSUE_NUMBER
28
+ gh issue edit --remove-label "stale" $ISSUE_NUMBER
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ permissions:
11
11
jobs :
12
12
stale :
13
13
permissions :
14
+ contents : read
14
15
issues : write # for actions/stale to close stale issues
15
16
pull-requests : write # for actions/stale to close stale PRs
16
17
runs-on : ubuntu-latest
@@ -21,11 +22,15 @@ jobs:
21
22
days-before-stale : 7
22
23
days-before-close : 7
23
24
only-labels : " needs author feedback"
25
+ stale-issue-label : stale
24
26
stale-issue-message : >
25
27
This has been automatically marked as stale because it has been marked
26
28
as needing author feedback and has not had any activity for 7 days.
27
- It will be closed if no further activity occurs within 7 days of this comment.
29
+ It will be closed automatically if there is no response from the author
30
+ within 7 additional days from this comment.
31
+ stale-pr-label : stale
28
32
stale-pr-message : >
29
33
This has been automatically marked as stale because it has been marked
30
34
as needing author feedback and has not had any activity for 7 days.
31
- It will be closed if no further activity occurs within 7 days of this comment.
35
+ It will be closed automatically if there is no response from the author
36
+ within 7 additional days from this comment.
Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ name: Release
2
2
on :
3
3
workflow_dispatch :
4
4
5
+ permissions :
6
+ contents : read
7
+
5
8
jobs :
6
9
build :
7
10
runs-on : ubuntu-latest
50
53
path : jmx-metrics/build/reports/tests/integrationTest
51
54
52
55
release :
56
+ permissions :
57
+ contents : write # for creating the release
53
58
runs-on : ubuntu-latest
54
59
needs :
55
60
- build
@@ -186,6 +191,8 @@ jobs:
186
191
echo "version=$VERSION" >> $GITHUB_OUTPUT
187
192
188
193
merge-change-log-to-main :
194
+ permissions :
195
+ contents : write # for git push to PR branch
189
196
runs-on : ubuntu-latest
190
197
needs :
191
198
- release
Original file line number Diff line number Diff line change @@ -3,6 +3,9 @@ name: Reusable - Markdown link check
3
3
on :
4
4
workflow_call :
5
5
6
+ permissions :
7
+ contents : read
8
+
6
9
jobs :
7
10
markdown-link-check :
8
11
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 12
12
steps :
13
13
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
14
14
15
- - name : Install markdownlint
16
- run : npm install -g markdownlint-cli
17
-
18
15
- name : Run markdownlint
19
16
run : |
20
- markdownlint -c .github/config/markdown-lint-config .yml **/*.md
17
+ npx markdownlint[email protected] -c .github/config/markdownlint .yml **/*.md
You can’t perform that action at this time.
0 commit comments