[processor/k8sattributes] Use the already available internal docker.ParseImageName function #46092
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-24.04 | |
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 }} |