From ae93c11e07cb08aacc66f25fa5728443b71f236e Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Tue, 30 Jan 2024 14:22:08 +0100 Subject: [PATCH] ci(github-action): use wildcards for discovering all the workflows (#889) --- .github/workflows/opentelemetry.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/opentelemetry.yml b/.github/workflows/opentelemetry.yml index 8d37cde6..84a6209f 100644 --- a/.github/workflows/opentelemetry.yml +++ b/.github/workflows/opentelemetry.yml @@ -1,21 +1,21 @@ --- +# Look up results at https://ela.st/oblt-ci-cd-stats. +# There will be one service per GitHub repository, including the org name, and one Transaction per Workflow. name: OpenTelemetry Export Trace on: workflow_run: - workflows: - - ci - - dist-tag - - e2e - - pr-title-lint - - release + workflows: [ "*" ] types: [completed] +permissions: + contents: read + jobs: otel-export-trace: runs-on: ubuntu-latest steps: - - uses: elastic/apm-pipeline-library/.github/actions/opentelemetry@main + - uses: elastic/apm-pipeline-library/.github/actions/opentelemetry@current with: vaultUrl: ${{ secrets.VAULT_ADDR }} vaultRoleId: ${{ secrets.VAULT_ROLE_ID }}