Skip to content

Commit 3345d4d

Browse files
authored
Pin coverage datadog action to the latest one (DataDog#23845)
1 parent 12c11b5 commit 3345d4d

6 files changed

Lines changed: 257 additions & 258 deletions

File tree

.github/workflows/master-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ jobs:
102102
- name: Upload coverage to Datadog
103103
if: always()
104104
continue-on-error: true
105-
uses: DataDog/coverage-upload-github-action@9bbbf86d16f7db1b14c5b885e61cf0d96053686a # v1.0.0
105+
uses: DataDog/coverage-upload-github-action@6c4bd935248daa6f0ef94e3e6ba71ad5ad079998 # v1.0.3
106106
with:
107107
api_key: ${{ secrets.DD_API_KEY }}
108108
files: coverage-reports

.github/workflows/master.yml

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -3,35 +3,35 @@ name: Master
33
on:
44
push:
55
branches:
6-
- master
6+
- master
77
paths:
88
# List of files/paths that should trigger the run. The intention is to avoid running all tests if the commit only includes changes on assets or README
9-
- '*/datadog_checks/**'
10-
- '*/tests/**'
11-
- 'ddev/**'
12-
- 'datadog_checks_base/**'
13-
- 'datadog_checks_dev/**'
14-
# Contains overrides for testing
15-
- '.ddev/**'
16-
# Want to ensure any change in workflows is validated
17-
- '.github/workflows/**'
18-
# Test matrices and dependencies
19-
- '*/hatch.toml'
20-
- '*/pyproject.toml'
21-
# Some integrations might use this file to validate metrics emission
22-
- '*/metadata.csv'
23-
# In case some linting formatting config has changed
24-
- 'pyproject.toml'
9+
- "*/datadog_checks/**"
10+
- "*/tests/**"
11+
- "ddev/**"
12+
- "datadog_checks_base/**"
13+
- "datadog_checks_dev/**"
14+
# Contains overrides for testing
15+
- ".ddev/**"
16+
# Want to ensure any change in workflows is validated
17+
- ".github/workflows/**"
18+
# Test matrices and dependencies
19+
- "*/hatch.toml"
20+
- "*/pyproject.toml"
21+
# Some integrations might use this file to validate metrics emission
22+
- "*/metadata.csv"
23+
# In case some linting formatting config has changed
24+
- "pyproject.toml"
2525
schedule:
26-
- cron: '0 2 * * *'
26+
- cron: "0 2 * * *"
2727

2828
jobs:
2929
cache:
3030
uses: ./.github/workflows/cache-shared-deps.yml
3131

3232
test:
3333
needs:
34-
- cache
34+
- cache
3535

3636
uses: ./.github/workflows/test-all.yml
3737
with:
@@ -48,12 +48,12 @@ jobs:
4848
secrets: inherit
4949

5050
permissions:
51-
# needed for compute-matrix in test-target.yml
52-
contents: read
51+
# needed for compute-matrix in test-target.yml
52+
contents: read
5353

5454
publish-test-results:
5555
needs:
56-
- test
56+
- test
5757

5858
if: success() || failure()
5959
concurrency:
@@ -69,7 +69,7 @@ jobs:
6969

7070
upload-coverage:
7171
needs:
72-
- test
72+
- test
7373
if: >
7474
!github.event.repository.private &&
7575
(success() || failure())
@@ -80,27 +80,27 @@ jobs:
8080
contents: read
8181

8282
steps:
83-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
83+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
8484

85-
- name: Download all coverage artifacts
86-
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
87-
with:
88-
pattern: coverage-*
89-
path: coverage-reports
90-
merge-multiple: false
85+
- name: Download all coverage artifacts
86+
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
87+
with:
88+
pattern: coverage-*
89+
path: coverage-reports
90+
merge-multiple: false
9191

92-
- name: Upload coverage to Codecov
93-
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de
94-
with:
95-
use_oidc: true
96-
directory: coverage-reports
97-
fail_ci_if_error: false
92+
- name: Upload coverage to Codecov
93+
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de
94+
with:
95+
use_oidc: true
96+
directory: coverage-reports
97+
fail_ci_if_error: false
9898

99-
- name: Upload coverage to Datadog
100-
if: always()
101-
continue-on-error: true
102-
uses: DataDog/coverage-upload-github-action@9bbbf86d16f7db1b14c5b885e61cf0d96053686a # v1.0.0
103-
with:
104-
api_key: ${{ secrets.DD_API_KEY }}
105-
files: coverage-reports
106-
format: cobertura
99+
- name: Upload coverage to Datadog
100+
if: always()
101+
continue-on-error: true
102+
uses: DataDog/coverage-upload-github-action@6c4bd935248daa6f0ef94e3e6ba71ad5ad079998 # v1.0.3
103+
with:
104+
api_key: ${{ secrets.DD_API_KEY }}
105+
files: coverage-reports
106+
format: cobertura

.github/workflows/pr-all-windows.yml

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@ name: PR All Windows
55
on:
66
pull_request:
77
paths:
8-
- datadog_checks_base/datadog_checks/**
9-
- datadog_checks_dev/datadog_checks/dev/*.py
10-
- ddev/src/**
11-
- "!agent_requirements.in"
12-
# Also run if we modify the workflow files
13-
- '.github/workflows/pr-all-windows.yml'
14-
- '.github/workflows/test-target.yml'
15-
- '.github/workflows/test-all-windows.yml'
16-
# Also run in the action to install test-target scripts changes
17-
- '.github/actions/setup-test-target-scripts/**'
18-
- '.github/actions/setup-ddev/**'
8+
- datadog_checks_base/datadog_checks/**
9+
- datadog_checks_dev/datadog_checks/dev/*.py
10+
- ddev/src/**
11+
- "!agent_requirements.in"
12+
# Also run if we modify the workflow files
13+
- ".github/workflows/pr-all-windows.yml"
14+
- ".github/workflows/test-target.yml"
15+
- ".github/workflows/test-all-windows.yml"
16+
# Also run in the action to install test-target scripts changes
17+
- ".github/actions/setup-test-target-scripts/**"
18+
- ".github/actions/setup-ddev/**"
1919

2020
concurrency:
2121
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.head_ref }}
@@ -26,8 +26,8 @@ jobs:
2626
uses: ./.github/workflows/test-all-windows.yml
2727

2828
permissions:
29-
# needed for compute-matrix in test-target.yml
30-
contents: read
29+
# needed for compute-matrix in test-target.yml
30+
contents: read
3131

3232
with:
3333
repo: core
@@ -39,14 +39,14 @@ jobs:
3939

4040
save-event:
4141
needs:
42-
- test
42+
- test
4343
if: success() || failure()
4444

4545
uses: ./.github/workflows/save-event.yml
4646

4747
upload-coverage:
4848
needs:
49-
- test
49+
- test
5050
if: >
5151
!github.event.repository.private &&
5252
(success() || failure())
@@ -57,27 +57,27 @@ jobs:
5757
contents: read
5858

5959
steps:
60-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
60+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
6161

62-
- name: Download all coverage artifacts
63-
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
64-
with:
65-
pattern: coverage-*
66-
path: coverage-reports
67-
merge-multiple: false
62+
- name: Download all coverage artifacts
63+
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
64+
with:
65+
pattern: coverage-*
66+
path: coverage-reports
67+
merge-multiple: false
6868

69-
- name: Upload coverage to Codecov
70-
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de
71-
with:
72-
use_oidc: true
73-
directory: coverage-reports
74-
fail_ci_if_error: false
69+
- name: Upload coverage to Codecov
70+
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de
71+
with:
72+
use_oidc: true
73+
directory: coverage-reports
74+
fail_ci_if_error: false
7575

76-
- name: Upload coverage to Datadog
77-
if: always()
78-
continue-on-error: true
79-
uses: DataDog/coverage-upload-github-action@9bbbf86d16f7db1b14c5b885e61cf0d96053686a # v1.0.0
80-
with:
81-
api_key: ${{ secrets.DD_API_KEY }}
82-
files: coverage-reports
83-
format: cobertura
76+
- name: Upload coverage to Datadog
77+
if: always()
78+
continue-on-error: true
79+
uses: DataDog/coverage-upload-github-action@6c4bd935248daa6f0ef94e3e6ba71ad5ad079998 # v1.0.3
80+
with:
81+
api_key: ${{ secrets.DD_API_KEY }}
82+
files: coverage-reports
83+
format: cobertura

.github/workflows/pr-all.yml

Lines changed: 39 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,20 @@ name: PR All
33
on:
44
pull_request:
55
paths:
6-
- datadog_checks_base/datadog_checks/**
7-
- datadog_checks_base/pyproject.toml
8-
- datadog_checks_dev/datadog_checks/dev/*.py
9-
- datadog_checks_dev/pyproject.toml
10-
- ddev/src/**
11-
- ddev/pyproject.toml
12-
- "!agent_requirements.in"
13-
# Also run if we modify the workflow files
14-
- '.github/workflows/pr-all.yml'
15-
- '.github/workflows/test-target.yml'
16-
- '.github/workflows/test-all.yml'
17-
# Also run if the action to install test-target scripts changes
18-
- '.github/actions/setup-test-target-scripts/**'
19-
- '.github/actions/setup-ddev/**'
6+
- datadog_checks_base/datadog_checks/**
7+
- datadog_checks_base/pyproject.toml
8+
- datadog_checks_dev/datadog_checks/dev/*.py
9+
- datadog_checks_dev/pyproject.toml
10+
- ddev/src/**
11+
- ddev/pyproject.toml
12+
- "!agent_requirements.in"
13+
# Also run if we modify the workflow files
14+
- ".github/workflows/pr-all.yml"
15+
- ".github/workflows/test-target.yml"
16+
- ".github/workflows/test-all.yml"
17+
# Also run if the action to install test-target scripts changes
18+
- ".github/actions/setup-test-target-scripts/**"
19+
- ".github/actions/setup-ddev/**"
2020

2121
concurrency:
2222
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.head_ref }}
@@ -27,8 +27,8 @@ jobs:
2727
uses: ./.github/workflows/test-all.yml
2828

2929
permissions:
30-
# needed for compute-matrix in test-target.yml
31-
contents: read
30+
# needed for compute-matrix in test-target.yml
31+
contents: read
3232

3333
with:
3434
repo: core
@@ -42,14 +42,14 @@ jobs:
4242

4343
save-event:
4444
needs:
45-
- test
45+
- test
4646
if: success() || failure()
4747

4848
uses: ./.github/workflows/save-event.yml
4949

5050
upload-coverage:
5151
needs:
52-
- test
52+
- test
5353
if: >
5454
!github.event.repository.private &&
5555
(success() || failure())
@@ -60,27 +60,27 @@ jobs:
6060
contents: read
6161

6262
steps:
63-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
63+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
6464

65-
- name: Download all coverage artifacts
66-
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
67-
with:
68-
pattern: coverage-*
69-
path: coverage-reports
70-
merge-multiple: false
65+
- name: Download all coverage artifacts
66+
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
67+
with:
68+
pattern: coverage-*
69+
path: coverage-reports
70+
merge-multiple: false
7171

72-
- name: Upload coverage to Codecov
73-
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de
74-
with:
75-
use_oidc: true
76-
directory: coverage-reports
77-
fail_ci_if_error: false
72+
- name: Upload coverage to Codecov
73+
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de
74+
with:
75+
use_oidc: true
76+
directory: coverage-reports
77+
fail_ci_if_error: false
7878

79-
- name: Upload coverage to Datadog
80-
if: always()
81-
continue-on-error: true
82-
uses: DataDog/coverage-upload-github-action@9bbbf86d16f7db1b14c5b885e61cf0d96053686a # v1.0.0
83-
with:
84-
api_key: ${{ secrets.DD_API_KEY }}
85-
files: coverage-reports
86-
format: cobertura
79+
- name: Upload coverage to Datadog
80+
if: always()
81+
continue-on-error: true
82+
uses: DataDog/coverage-upload-github-action@6c4bd935248daa6f0ef94e3e6ba71ad5ad079998 # v1.0.3
83+
with:
84+
api_key: ${{ secrets.DD_API_KEY }}
85+
files: coverage-reports
86+
format: cobertura

0 commit comments

Comments
 (0)