From 9f58fef62910c5aa007bcd0e86a431c339d21011 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Tue, 30 Jan 2024 14:21:05 +0100 Subject: [PATCH] github-action: use wildcards for discovering all the workflows (#37783) --- .github/workflows/opentelemetry.yml | 44 +++++------------------------ 1 file changed, 7 insertions(+), 37 deletions(-) diff --git a/.github/workflows/opentelemetry.yml b/.github/workflows/opentelemetry.yml index 4cdb1e2197e..84a6209ff2c 100644 --- a/.github/workflows/opentelemetry.yml +++ b/.github/workflows/opentelemetry.yml @@ -1,46 +1,16 @@ +--- +# 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: - - bump-elastic-stack-snapshot - - bump-golang - - check-auditbeat - - check-default - - check-dev-tools - - check-docs - - check-filebeat - - check-heartbeat - - check-libbeat - - check-metricbeat - - check-packetbeat - - check-winlogbeat - - check-x-pack-auditbeat - - check-x-pack-dockerlogbeat - - check-x-pack-filebeat - - check-x-pack-functionbeat - - check-x-pack-heartbeat - - check-x-pack-libbeat - - check-x-pack-metricbeat - - check-x-pack-osquerybeat - - check-x-pack-packetbeat - - check-x-pack-winlogbeat - - golangci-lint - - notify-stalled-snapshots - - auditbeat - - filebeat - - heartbeat - - metricbeat - - packetbeat - - x-pack-auditbeat - - x-pack-filebeat - - x-pack-functionbeat - - x-pack-heartbeat - - x-pack-metricbeat - - x-pack-osquerybeat - - x-pack-packetbeat + workflows: [ "*" ] types: [completed] +permissions: + contents: read + jobs: otel-export-trace: runs-on: ubuntu-latest