Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/workflows/otel-export.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
name: Export CI/CD Traces to Scout
"on":
workflow_run:
workflows: ["*"]
types:
- completed
jobs:
otel-export:
runs-on: ubuntu-latest
steps:
- name: Export workflow trace
uses: base-14/otel-cicd-action@v1.0.0
with:
otlpEndpoint: ${{ secrets.SCOUT_OTLP_ENDPOINT }}
otelServiceName: cdk-terrain-ci
githubToken: ${{ secrets.GITHUB_TOKEN }}
runId: ${{ github.event.workflow_run.id }}
tokenUrl: >-
https://id.b14.dev/realms/${{
secrets.SCOUT_TENANT
}}/protocol/openid-connect/token
appName: ${{ secrets.SCOUT_CLIENT_ID }}
apiKey: ${{ secrets.SCOUT_CLIENT_SECRET }}
audience: b14collector
3 changes: 2 additions & 1 deletion .github/workflows/pr-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
docs
release
deps
gha
# Configure that a scope must always be provided.
requireScope: false
# When using "Squash and merge" on a PR with only one commit, GitHub
Expand All @@ -52,6 +53,6 @@ jobs:
subjectPatternError: |
The subject "{subject}" found in the pull request title "{title}" does not match the required format.
The format is "type(scope): message", supported types are feat, fix, chore, refactor, revert.
The supported scopes are lib, cli, hcl2json, tests, examples, readme, docs, release, deps.
The supported scopes are lib, cli, hcl2json, tests, examples, readme, docs, release, deps, gha.
Please stick to the format so that our automatic release process picks your commit up and
your code makes it into the next release.
17 changes: 12 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,18 @@ Ensuring your PR titles follow this format helps us quickly identify the purpose

#### Affected Component:

- cli
- lib
- hcl2cdk
- provider-generator
- examples
- **cli** — CLI tool (`cdktn-cli`)
- **lib** — Core library (`cdktn`)
- **hcl2cdk** — HCL to CDK converter
- **hcl2json** — WASM-based HCL parser
- **provider-generator** — Provider binding generator
- **examples** — Example projects
- **tests** — Test infrastructure
- **docs** — Documentation
- **readme** — README updates
- **release** — Release process and configuration
- **deps** — Dependency updates
- **gha** — GitHub Actions workflows

## Prerequisites

Expand Down
Loading