[receiver/oracledb] Add session, JVM, and OS resource metrics #35520
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: codeowners | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - ".github/CODEOWNERS" | |
| - "**/metadata.yaml" | |
| tags: | |
| - "v[0-9]+.[0-9]+.[0-9]+*" | |
| pull_request_target: | |
| paths: | |
| - ".github/CODEOWNERS" | |
| - "**/metadata.yaml" | |
| types: | |
| - opened | |
| - synchronize | |
| - edited | |
| - reopened | |
| env: | |
| # Make sure to exit early if cache segment download times out after 2 minutes. | |
| # We limit cache download as a whole to 5 minutes. | |
| SEGMENT_DOWNLOAD_TIMEOUT_MINS: 2 | |
| # Do not cancel this workflow on main. See https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/16616 | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| permissions: read-all | |
| jobs: | |
| check-codeowners: | |
| timeout-minutes: 30 | |
| runs-on: ubuntu-24.04 | |
| if: ${{ github.actor != 'dependabot[bot]' && github.repository == 'open-telemetry/opentelemetry-collector-contrib' }} | |
| steps: | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 | |
| - run: ./.github/workflows/scripts/free-disk-space.sh | |
| - uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6 | |
| id: go-setup | |
| with: | |
| go-version: oldstable | |
| cache: false | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 | |
| with: | |
| ref: ${{github.event.pull_request.head.ref}} | |
| repository: ${{github.event.pull_request.head.repo.full_name}} | |
| path: pr | |
| allow-unsafe-pr-checkout: true | |
| - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 | |
| id: otelbot-token | |
| with: | |
| client-id: ${{ vars.OTELBOT_CLIENT_ID }} | |
| private-key: ${{ secrets.OTELBOT_PRIVATE_KEY }} | |
| permission-members: read | |
| # githubgen enforces that every code owner is an organization member and, | |
| # via -github-team, that they are a member of the collector-contrib-contributors | |
| # team, which grants the repository access required to be requested as a reviewer. | |
| - name: Gen CODEOWNERS | |
| run: | | |
| if ! GITHUB_TOKEN=${{ steps.otelbot-token.outputs.token }} GITHUBGEN_ARGS="-folder=pr -github-team=collector-contrib-contributors" make codeowners; then echo 'Failed to generate CODEOWNERS. If you added a new code owner, ensure they are a member of the open-telemetry organization and the open-telemetry/collector-contrib-contributors team (https://github.com/orgs/open-telemetry/teams/collector-contrib-contributors).' && exit 1; fi | |
| if ! git -C pr diff -s --exit-code; then echo 'Generated code is out of date, please run "make update-codeowners" and commit the changes in this PR. If you added a new code owner, also ensure they are a member of the open-telemetry/collector-contrib-contributors team.' && git -C pr diff && exit 1; fi | |
| - run: ./.github/workflows/scripts/check-disk-space.sh |