Skip to content

Commit 60ce481

Browse files
authored
Merge pull request #3 from closeio/merge-upstream
Merge upstream
2 parents 32b2991 + 784780f commit 60ce481

34 files changed

+85000
-53963
lines changed

.github/workflows/axiom.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ jobs:
1111
otel-export-axiom:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v4
14+
- uses: actions/checkout@v6
1515
- name: Export workflow to Axiom
16-
uses: corentinmusard/otel-cicd-action@v2
16+
uses: corentinmusard/otel-cicd-action@v4
1717
with:
1818
otlpEndpoint: https://api.axiom.co/v1/traces
1919
# Example value for AXIOM_OTLP_HEADERS:

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ jobs:
99
build:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v4
13-
- uses: actions/setup-node@v4
12+
- uses: actions/checkout@v6
13+
- uses: actions/setup-node@v6
1414
with:
1515
node-version-file: package.json
1616
cache: npm
@@ -30,8 +30,8 @@ jobs:
3030
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
3131
runs-on: ${{ matrix.os }}
3232
steps:
33-
- uses: actions/checkout@v4
34-
- uses: actions/setup-node@v4
33+
- uses: actions/checkout@v6
34+
- uses: actions/setup-node@v6
3535
with:
3636
node-version-file: package.json
3737
cache: npm
@@ -44,7 +44,7 @@ jobs:
4444
if: always()
4545
runs-on: ubuntu-latest
4646
steps:
47-
- uses: actions/checkout@v4
47+
- uses: actions/checkout@v6
4848
- name: Export workflow
4949
uses: ./
5050
with:

.github/workflows/dash0.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ jobs:
1111
otel-export-dash0:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v4
14+
- uses: actions/checkout@v6
1515
- name: Export workflow to Dash0
16-
uses: corentinmusard/otel-cicd-action@v2
16+
uses: corentinmusard/otel-cicd-action@v4
1717
with:
1818
otlpEndpoint: grpc://ingress.eu-west-1.aws.dash0.com:4317
1919
# See https://www.dash0.com/documentation/dash0/get-started/sending-data-to-dash0

.github/workflows/honeycomb.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ jobs:
1111
otel-export-honeycomb:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v4
14+
- uses: actions/checkout@v6
1515
- name: Export workflow to Honeycomb
16-
uses: corentinmusard/otel-cicd-action@v2
16+
uses: corentinmusard/otel-cicd-action@v4
1717
with:
1818
otlpEndpoint: grpc://api.honeycomb.io:443/
1919
# Example value for HONEYCOMB_OTLP_HEADERS:

.github/workflows/newrelic.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ jobs:
1111
otel-export-newrelic:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v4
14+
- uses: actions/checkout@v6
1515
- name: Export workflow to New Relic
16-
uses: corentinmusard/otel-cicd-action@v2
16+
uses: corentinmusard/otel-cicd-action@v4
1717
with:
1818
otlpEndpoint: grpc://otlp.eu01.nr-data.net
1919
# Example value for NEWRELIC_OTLP_HEADERS:

.github/workflows/private.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ jobs:
1717
pull-requests: read # Optional. To read PR labels
1818
checks: read # Optional. To read run annotations
1919
steps:
20-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@v6
2121
- name: Export workflow
22-
uses: corentinmusard/otel-cicd-action@v2
22+
uses: corentinmusard/otel-cicd-action@v4
2323
with:
2424
otlpEndpoint: "CHANGE_ME"
2525
otlpHeaders: "CHANGE_ME"

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"files.insertFinalNewline": true,
77
"emmet.showExpandedAbbreviation": "never",
88
"editor.codeActionsOnSave": {
9-
"quickfix.biome": "explicit",
9+
"source.fixAll.biome": "explicit",
1010
"source.organizeImports.biome": "explicit"
1111
},
1212
"[typescript]": {

CHANGELOG.md

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,43 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [4.0.0] - 2026-02-07
11+
12+
### ⚠ BREAKING CHANGES
13+
14+
Upgraded action from node20 to node24.
15+
16+
> Make sure your runner is on version v2.327.1 or later to ensure compatibility with this release. [See Release Notes](https://github.com/actions/runner/releases/tag/v2.327.1)
17+
18+
## [3.0.0] - 2026-01-30
19+
20+
### ⚠ BREAKING CHANGES
21+
22+
- Upgraded OpenTelemetry JS SDK to [v2](https://github.com/open-telemetry/opentelemetry-js/blob/main/doc/upgrade-to-2.x.md)
23+
- The parentSpanId field on the Span and ReadableSpan interfaces was replaced by parentSpanContext, to adhere to the OTel spec: `span.parentSpanId` -> `span.parentSpanContext?.spanId`
24+
25+
### Added
26+
27+
Added missing [semconv attributes](https://opentelemetry.io/docs/specs/semconv/registry/attributes/cicd/):
28+
29+
- `cicd.pipeline.action.name`
30+
- `cicd.pipeline.task.run.url.full`
31+
- `cicd.pipeline.result`
32+
- `cicd.pipeline.run.state`
33+
- `cicd.pipeline.task.run.result`
34+
- `cicd.worker.id`
35+
- `cicd.worker.name`
36+
37+
### Fixed
38+
39+
- Updated dependencies
40+
41+
## [2.2.4] - 2025-08-07
42+
43+
### Fixed
44+
45+
- Include cancelled steps in trace
46+
1047
## [2.2.3] - 2025-01-30
1148

1249
### Fixed
@@ -174,7 +211,10 @@ permissions:
174211
- Support for `https` endpoints (proto over http).
175212
- Update to node 20.x
176213

177-
[unreleased]: https://github.com/corentinmusard/otel-cicd-action/compare/v2.2.3...HEAD
214+
[unreleased]: https://github.com/corentinmusard/otel-cicd-action/compare/v4.0.0...HEAD
215+
[4.0.0]: https://github.com/corentinmusard/otel-cicd-action/compare/v3.0.0...v4.0.0
216+
[3.0.0]: https://github.com/corentinmusard/otel-cicd-action/compare/v2.2.4...v3.0.0
217+
[2.2.4]: https://github.com/corentinmusard/otel-cicd-action/compare/v2.2.3...v2.2.4
178218
[2.2.3]: https://github.com/corentinmusard/otel-cicd-action/compare/v2.2.2...v2.2.3
179219
[2.2.2]: https://github.com/corentinmusard/otel-cicd-action/compare/v2.2.1...v2.2.2
180220
[2.2.1]: https://github.com/corentinmusard/otel-cicd-action/compare/v2.2.0...v2.2.1

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ cd otel-cicd-action
1010
Setup precommit hook, install dependencies:
1111

1212
```sh
13-
npm run prepare
1413
npm i
14+
npm run prepare
1515
```
1616

1717
Fill `.env.test` based on `.env.test.example`.

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ We provide sample code for popular platforms. If you feel one is missing, please
2424
| New Relic | [newrelic.yml](.github/workflows/newrelic.yml) |
2525
| Honeycomb | [honeycomb.yml](.github/workflows/honeycomb.yml) |
2626
| Dash0 | [dash0.yml](.github/workflows/dash0.yml) |
27-
| Jaeger | WIP |
28-
| Grafana | WIP |
2927

3028
### On workflow_run event
3129

@@ -43,7 +41,7 @@ jobs:
4341
otel-cicd-actions:
4442
runs-on: ubuntu-latest
4543
steps:
46-
- uses: corentinmusard/otel-cicd-action@v2
44+
- uses: corentinmusard/otel-cicd-action@v4
4745
with:
4846
otlpEndpoint: grpc://api.honeycomb.io:443/
4947
otlpHeaders: ${{ secrets.OTLP_HEADERS }}
@@ -64,7 +62,7 @@ jobs:
6462
needs: [build] # must run when all jobs are completed
6563
steps:
6664
- name: Export workflow
67-
uses: corentinmusard/otel-cicd-action@v2
65+
uses: corentinmusard/otel-cicd-action@v4
6866
with:
6967
otlpEndpoint: grpc://api.honeycomb.io:443/
7068
otlpHeaders: ${{ secrets.OTLP_HEADERS }}
@@ -102,7 +100,7 @@ Attributes are splitted on `,` and then each key/value are splitted on the first
102100

103101
```yaml
104102
- name: Export workflow
105-
uses: corentinmusard/otel-cicd-action@v2
103+
uses: corentinmusard/otel-cicd-action@v4
106104
with:
107105
otlpEndpoint: "CHANGE ME"
108106
otlpHeaders: "CHANGE ME"

0 commit comments

Comments
 (0)