[pkg/ottl] Support for extracting OS attributes from UserAgent #42960
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: 'Add Labels' | |
on: | |
issue_comment: | |
types: [created] | |
jobs: | |
add-labels: | |
if: ${{ !github.event.issue.pull_request && startsWith(github.event.comment.body, '/label') && github.repository_owner == 'open-telemetry' }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run update permissions | |
run: chmod +x ./.github/workflows/scripts/add-labels.sh | |
- name: Run add-labels.sh | |
run: ./.github/workflows/scripts/add-labels.sh | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
ISSUE: ${{ github.event.issue.number }} | |
COMMENT: ${{ github.event.comment.body }} | |
SENDER: ${{ github.event.sender.login }} |