Remove prefix in yaml, add policy check to block future usages (and m… #105
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: 'Generate registry area labels' | |
on: | |
push: | |
branches: [main] | |
paths: | |
- model/registry/** | |
- ./.github/workflows/generate-registry-area-labels.yml | |
- ./.github/workflows/scripts/generate-registry-area-labels.sh | |
workflow_dispatch: | |
jobs: | |
generate-component-labels: | |
runs-on: ubuntu-latest | |
if: ${{ github.repository_owner == 'open-telemetry' }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run update permissions | |
run: chmod +x ./.github/workflows/scripts/generate-registry-area-labels.sh | |
- name: Generate registry area labels | |
run: ./.github/workflows/scripts/generate-registry-area-labels.sh | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |