Skip to content

chore(gha): Adding base14 Scout CI/CD observability workflow to instrument all the github actions. - #52

Merged
so0k merged 1 commit into
open-constructs:mainfrom
irfn:main
Mar 19, 2026
Merged

so0k merged 1 commit into
open-constructs:mainfrom
irfn:main

Conversation

@irfn

@irfn irfn commented Mar 4, 2026 •

Copy link
Copy Markdown
Contributor

Description

Export GitHub Actions workflow traces to Scout via OpenTelemetry using a workflow_run trigger, requiring no changes to existing workflows.

Required secrets to configure in repo Settings > Secrets and variables > Actions:

Secret Source
SCOUT_OTLP_ENDPOINT Provided during Scout onboarding
SCOUT_TENANT Your Scout tenant identifier
SCOUT_CLIENT_ID OAuth2 client ID from Scout
SCOUT_CLIENT_SECRET OAuth2 client secret from Scout

GITHUB_TOKEN is auto-provided by GitHub Actions.

Checklist

  • I have updated the PR title to match CDKTN's style guide
  • I have run the linter on my code locally
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation if applicable
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works if applicable
  • New and existing unit tests pass locally with my changes

@irfn
irfn requested a review from a team as a code owner March 4, 2026 10:08
@irfn

irfn commented Mar 4, 2026

Copy link
Copy Markdown
Contributor Author

@so0k i am not sure which of these scopes would the Github action fit in?

Unknown scope "github actions" found in pull request title "chore(github actions): Adding base14 Scout CI/CD observability workflow to instrument all the github actions.". Scope must match one of: lib, cli, hcl2json, hcl2cdk, provider-generator, tests, examples, readme, docs, release, deps.

@jsteinich

Copy link
Copy Markdown
Contributor

@so0k i am not sure which of these scopes would the Github action fit in?

Unknown scope "github actions" found in pull request title "chore(github actions): Adding base14 Scout CI/CD observability workflow to instrument all the github actions.". Scope must match one of: lib, cli, hcl2json, hcl2cdk, provider-generator, tests, examples, readme, docs, release, deps.

It's possible to just skip the scope. All that does is group things in the changelog. We could also add a new scope.

@so0k
so0k self-requested a review March 5, 2026 04:20
@irfn

irfn commented Mar 5, 2026 •

Copy link
Copy Markdown
Contributor Author

It's possible to just skip the scope. All that does is group things in the changelog. We could also add a new scope.

I would suggest adding gha for github actions related work. WDYT @jsteinich

@so0k

so0k commented Mar 5, 2026

Copy link
Copy Markdown
Contributor

It's possible to just skip the scope. All that does is group things in the changelog. We could also add a new scope.

I would suggest adding gha for github actions related work. WDYT @jsteinich

yeah, do i need to push that to main? or if you include it in this PR it will pass the linter?

@irfn irfn changed the title chore(github actions): Adding base14 Scout CI/CD observability workflow to instrument all the github actions. chore(gha): Adding base14 Scout CI/CD observability workflow to instrument all the github actions. Mar 7, 2026
Export GitHub Actions workflow traces to Scout via OpenTelemetry using
a workflow_run trigger, requiring no changes to existing workflows.
Added a scope for commit category and updated the contributing doc.
@irfn

irfn commented Mar 7, 2026

Copy link
Copy Markdown
Contributor Author

@so0k please check now, the Lint PR is passing now.

@so0k

so0k commented Mar 18, 2026

Copy link
Copy Markdown
Contributor

also, the Secrets have been added to the this repo:

# github_actions_secret.cdk-terrain_repo_secret-scout-client-id_3AA86A63 will be created
  + resource "github_actions_secret" "cdk-terrain_repo_secret-scout-client-id_3AA86A63" {
      + created_at       = (known after apply)
      + destroy_on_drift = true
      + id               = (known after apply)
      + plaintext_value  = (sensitive value)
      + repository       = "cdk-terrain"
      + secret_name      = "SCOUT_CLIENT_ID"
      + updated_at       = (known after apply)
    }

  # github_actions_secret.cdk-terrain_repo_secret-scout-client-secret_F594B5DF will be created
  + resource "github_actions_secret" "cdk-terrain_repo_secret-scout-client-secret_F594B5DF" {
      + created_at       = (known after apply)
      + destroy_on_drift = true
      + id               = (known after apply)
      + plaintext_value  = (sensitive value)
      + repository       = "cdk-terrain"
      + secret_name      = "SCOUT_CLIENT_SECRET"
      + updated_at       = (known after apply)
    }

  # github_actions_secret.cdk-terrain_repo_secret-scout-otlp-endpoint_104811C1 will be created
  + resource "github_actions_secret" "cdk-terrain_repo_secret-scout-otlp-endpoint_104811C1" {
      + created_at       = (known after apply)
      + destroy_on_drift = true
      + id               = (known after apply)
      + plaintext_value  = (sensitive value)
      + repository       = "cdk-terrain"
      + secret_name      = "SCOUT_OTLP_ENDPOINT"
      + updated_at       = (known after apply)
    }

  # github_actions_secret.cdk-terrain_repo_secret-scout-tenant_31109379 will be created
  + resource "github_actions_secret" "cdk-terrain_repo_secret-scout-tenant_31109379" {
      + created_at       = (known after apply)
      + destroy_on_drift = true
      + id               = (known after apply)
      + plaintext_value  = (sensitive value)
      + repository       = "cdk-terrain"
      + secret_name      = "SCOUT_TENANT"
      + updated_at       = (known after apply)
    }

@irfn

irfn commented Mar 19, 2026

Copy link
Copy Markdown
Contributor Author

@so0k i've verified that all the required secrets are setup

@so0k
so0k merged commit bfaf9d0 into open-constructs:main Mar 19, 2026
525 of 528 checks passed
jsteinich added a commit that referenced this pull request Mar 27, 2026
### feat
- feat(gha): publish Maven artifacts to Maven Central
[\#64](#64)
- feat: restore NuGet.org publishing
[\#50](#50)
- feat(provider-generator): don't emit property params
[\#43](#43)


### fix
- fix(cli): Pin init template to TypesScript 5.x
[\#74](#74)
- fix(gha): fix Go releases and update git identity
[\#65](#65)
- fix(provider-generator): handle inline comments with brackets in
variable type parsing
[\#61](#61)
- fix: DEP0044 in TerraformOutput
[\#2](#2)


### chore
- chore: Upgrade dependencies for all
[\#69](#69)
- chore(gha): Adding base14 Scout CI/CD observability workflow to
instrument all the github actions.
[\#52](#52)
- chore(deps): Upgrade minimatch to 5.1.8
[\#49](#49)
- chore: add cdktn keyword to all packages
[\#46](#46)
- chore: update links to point to cdktn.io
[\#45](#45)
- chore: update more references to cdktf
[\#44](#44)
- chore: fix typo in CONTRIBUTING.md
[\#42](#42)
- chore(deps): Upgrade validator to 13.15.22
[\#38](#38)
- chore(deps): Upgrade glob to 10.5.0
[\#30](#30)
- chore: Upgrade dependencies for all
[\#22](#22)
- chore: Upgrade dependencies for lib
[\#18](#18)
- chore(deps): bump the github-actions-backward-compatible group with 4
updates [\#15](#15)
- chore(deps): bump the github-actions-breaking group with 11 updates
[\#14](#14)


### refactor
- refactor(hcl2cdk): global setup/teardown along with parallel tests to
speed the b…
[\#41](#41)
@github-actions

Copy link
Copy Markdown
Contributor

I'm going to lock this pull request because it has been closed for 30 days. This helps our maintainers find and focus on the active issues. If you've found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Apr 19, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants