feat(process-discovery): include process_tags and container_id in tracer metadata #18316
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: All Green | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - master | |
| schedule: | |
| - cron: 0 4 * * * | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref || github.run_id }} | |
| cancel-in-progress: true | |
| jobs: | |
| all-green: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| checks: read | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| sparse-checkout-cone-mode: false | |
| sparse-checkout: | | |
| .github | |
| scripts | |
| - uses: ./.github/actions/node | |
| with: | |
| version: active | |
| - run: yarn add @actions/core @actions/github octokit | |
| - run: node scripts/all-green.mjs | |
| env: | |
| DELAY: ${{ github.run_attempt == 1 && '7' || '0' }} # 7 minutes on first attempt, no delay on reruns | |
| GITHUB_PR_NUMBER: ${{ github.event.pull_request.number }} | |
| GITHUB_TOKEN: ${{ github.token }} | |
| POLLING_INTERVAL: 1 | |
| RETRIES: 30 | |
| - name: Require vendor validation when vendor/ changes | |
| if: github.event_name == 'pull_request' | |
| env: | |
| GH_TOKEN: ${{ github.token }} | |
| REPO: ${{ github.repository }} | |
| BASE_SHA: ${{ github.event.pull_request.base.sha }} | |
| HEAD_SHA: ${{ github.event.pull_request.head.sha }} | |
| run: | | |
| set -euo pipefail | |
| vendor_changed="$(gh api "repos/${REPO}/compare/${BASE_SHA}...${HEAD_SHA}" --jq 'any(.files[].filename; startswith("vendor/"))')" | |
| if [ "$vendor_changed" != "true" ]; then | |
| exit 0 | |
| fi | |
| # If vendor/ was touched, require *some* vendor validation check to be present: | |
| # - For most PRs: `Validate vendored bundle / validate-vendored-bundle` | |
| # - For Dependabot vendor PRs: `Dependabot Automation / vendor-validate` | |
| check_names="$(gh api "repos/${REPO}/commits/${{ github.event.pull_request.head.sha }}/check-runs" \ | |
| -H "Accept: application/vnd.github+json" \ | |
| --paginate \ | |
| --jq '.check_runs[].name')" | |
| if echo "$check_names" | grep -Eq '^(validate-vendored-bundle|vendor-validate)$'; then | |
| exit 0 | |
| fi | |
| echo "vendor/ changed but no vendor validation check was found." | |
| echo "Expected a check run named 'validate-vendored-bundle' or 'vendor-validate'." | |
| exit 1 |