Skip to content

[Repository automation] Flatten hierarchy for merge rights #44559

[Repository automation] Flatten hierarchy for merge rights

[Repository automation] Flatten hierarchy for merge rights #44559

Workflow file for this run

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 }}