You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/codeql-analysis.yml
+5-5
Original file line number
Diff line number
Diff line change
@@ -13,10 +13,10 @@ name: "CodeQL"
13
13
14
14
on:
15
15
push:
16
-
branches: [ master ]
16
+
branches: [ main ]
17
17
pull_request:
18
18
# The branches below must be a subset of the branches above
19
-
branches: [ master ]
19
+
branches: [ main ]
20
20
schedule:
21
21
- cron: '39 16 * * 1'
22
22
@@ -48,11 +48,11 @@ jobs:
48
48
# If you wish to specify custom queries, you can do so here or in a config file.
49
49
# By default, queries listed here will override any specified in a config file.
50
50
# Prefix the list here with "+" to use these queries and those in the config file.
51
-
51
+
52
52
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
53
53
# queries: security-extended,security-and-quality
54
54
55
-
55
+
56
56
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
57
57
# If this step fails, then you should remove it and run the build manually (see below)
58
58
- name: Autobuild
@@ -61,7 +61,7 @@ jobs:
61
61
# ℹ️ Command-line programs to run using the OS shell.
62
62
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
63
63
64
-
# If the Autobuild fails above, remove it and uncomment the following three lines.
64
+
# If the Autobuild fails above, remove it and uncomment the following three lines.
65
65
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
* The use of this exporter could be expensive, this need be used taking care.
17
17
18
-
**NOTES**:
18
+
**NOTES**:
19
19
20
20
* When you use [AWS CloudWatch GetMetricsData API call](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricData.html) with 1 request you can get 500 metrics a time, so
21
21
read the links above before use it.
@@ -49,7 +49,7 @@ More information at [metrics.md](docs/metrics.md)
49
49
#### Docker
50
50
51
51
Using your own `~/.aws` configuration in local
52
-
52
+
53
53
```bash
54
54
docker run --rm \
55
55
-i \
@@ -61,18 +61,18 @@ docker run --rm \
61
61
-v ~/.aws:/home/nobody/.aws:ro \
62
62
-e "AWS_SDK_LOAD_CONFIG=true" \
63
63
-e "AWS_PROFILE=slashdevops" \
64
-
slashdevops/aws-cloudwatch-exporter-linux-amd64:develop metrics get --metricsFiles /home/nobody/m1.yaml --outFile /home/nobody/tmp/out.yaml
64
+
slashdevops/aws-cloudwatch-exporter-linux-amd64:develop metrics get --metricsFiles /home/nobody/m1.yaml --outFile /home/nobody/tmp/out.yaml
65
65
```
66
66
67
67
Check the result
68
68
69
69
```bash
70
-
cat /tmp/out.yaml
70
+
cat /tmp/out.yaml
71
71
```
72
72
73
73
#### Binary
74
74
75
-
If you download the binary from releases
75
+
If you download the binary from releases
76
76
77
77
```bash
78
78
AWS_SDK_LOAD_CONFIG="true" \
@@ -94,4 +94,4 @@ This software is released under the APACHE LICENSE, VERSION 2.0:
94
94
95
95
## Author Information
96
96
97
-
*[Christian González Di Antonio](https://github.com/christiangda)
97
+
*[Christian González Di Antonio](https://github.com/christiangda)
0 commit comments