[META 867] Spec: Introduce the use of ELASTIC_OTEL_SYSTEM_METRICS_ENABLED #122
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: "APM Agents meta issue handler" | |
on: | |
issues: | |
types: [opened] | |
permissions: | |
contents: read | |
jobs: | |
meta-issue-handler: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check team membership for user | |
uses: elastic/[email protected] | |
id: checkUserMember | |
with: | |
username: ${{ github.actor }} | |
team: 'apm' | |
usernamesToExclude: | | |
apmmachine | |
GITHUB_TOKEN: ${{ secrets.APM_TECH_USER_TOKEN }} | |
- name: Create sub issues | |
if: steps.checkUserMember.outputs.isTeamMember == 'true' && contains(github.event.issue.labels.*.name, 'meta') && contains(github.event.issue.labels.*.name, 'apm-agents') | |
uses: elastic/[email protected] | |
id: create_sub_issues | |
with: | |
token: "${{ secrets.APM_TECH_USER_TOKEN }}" | |
metaIssue: "${{ toJSON(github.event.issue) }}" | |
bodyRegex: "(.*)(<!---repos-start--->.*<!---repos-end--->)(.*)" | |
labelsToExclude: "meta,apm-agents" | |
specLabels: "spec-poc,apm-agents" |