File tree Expand file tree Collapse file tree 5 files changed +14
-7
lines changed Expand file tree Collapse file tree 5 files changed +14
-7
lines changed Original file line number Diff line number Diff line change 8
8
branches : [ main ]
9
9
paths-ignore :
10
10
- " **.md"
11
+ permissions :
12
+ contents : read
11
13
12
14
jobs :
13
15
ci :
Original file line number Diff line number Diff line change 10
10
# supported CodeQL languages.
11
11
#
12
12
name : " CodeQL"
13
-
14
13
on :
15
14
push :
16
15
branches : [ "main" ]
17
16
pull_request :
18
17
branches : [ "main" ]
19
18
schedule :
20
19
- cron : ' 33 12 * * 2'
20
+ permissions :
21
+ contents : read
21
22
22
23
jobs :
23
24
analyze :
Original file line number Diff line number Diff line change 3
3
workflow_dispatch :
4
4
schedule :
5
5
- cron : ' 0 0 * * *'
6
+ permissions :
7
+ contents : read
6
8
7
9
jobs :
8
10
run :
14
16
with :
15
17
organization : ${{ secrets.ORG }}
16
18
github-token : ${{ secrets.TOKEN }}
17
- - uses : austenstone/job-summary-to-pdf@main
19
+ - uses : austenstone/job-summary-to-pdf@v1.0
18
20
id : pdf
19
21
with :
20
22
name : copilot-usage
Original file line number Diff line number Diff line change 3
3
push :
4
4
pull_request :
5
5
workflow_dispatch :
6
+ permissions :
7
+ contents : read
6
8
7
9
jobs :
8
10
run :
Original file line number Diff line number Diff line change @@ -36,14 +36,14 @@ jobs:
36
36
name : Run Action
37
37
runs-on : ubuntu-latest
38
38
steps :
39
- - uses : austenstone/copilot-usage@main
39
+ - uses : austenstone/copilot-usage@v3
40
40
with :
41
41
github-token : ${{ secrets.TOKEN }}
42
42
` ` `
43
43
## Example get team usage
44
44
45
45
` ` ` yml
46
- - uses : austenstone/copilot-usage@main
46
+ - uses : austenstone/copilot-usage@v3
47
47
with :
48
48
github-token : ${{ secrets.TOKEN }}
49
49
organization : ' org-slug'
53
53
## Example get enterprise usage
54
54
55
55
` ` ` yml
56
- - uses : austenstone/copilot-usage@main
56
+ - uses : austenstone/copilot-usage@v3
57
57
with :
58
58
github-token : ${{ secrets.TOKEN }}
59
59
enterprise : ' enterprise-slug'
@@ -75,10 +75,10 @@ jobs:
75
75
run:
76
76
runs-on: ubuntu-latest
77
77
steps:
78
- - uses: austenstone/copilot-usage@main
78
+ - uses: austenstone/copilot-usage@v3
79
79
with:
80
80
github-token: ${{ secrets.TOKEN }}
81
- - uses: austenstone/job-summary-to-pdf@main
81
+ - uses: austenstone/job-summary-to-pdf@v1.0
82
82
id: pdf
83
83
with:
84
84
name: copilot-usage
You can’t perform that action at this time.
0 commit comments