Adds support for core-agent to listen on a unix domain socket to serve prometheus metrics #21106
This file contains 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: "PR complexity label" | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
branches: | |
- main | |
- "[0-9]+.[0-9]+.x" | |
pull_request_review_comment: | |
types: [created, deleted] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
permissions: {} | |
jobs: | |
codereview-complexity: | |
runs-on: ubuntu-latest | |
permissions: | |
pull-requests: write | |
if: github.event.pull_request.head.repo.full_name == github.repository # Run only on non-fork PRs | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
persist-credentials: false | |
- name: Setup python | |
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0 | |
with: | |
python-version-file: .python-version | |
cache: 'pip' | |
cache-dependency-path: '.dda/version' | |
- name: Install dda | |
uses: ./.github/actions/install-dda | |
with: | |
features: legacy-tasks | |
- name: Check code review complexity | |
env: | |
PR_NUMBER: ${{ github.event.pull_request.number }} | |
run: dda inv -e github.assign-codereview-label --pr-id="$PR_NUMBER" |