Add workflow for OCB components test and tagging #16
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 component labels' | |
on: | |
push: | |
branches: | |
- main | |
- 'aws-cwa-*' | |
paths: | |
- .github/CODEOWNERS | |
- ./.github/workflows/generate-component-labels.yml | |
- ./.github/workflows/scripts/generate-component-labels.sh | |
workflow_dispatch: | |
jobs: | |
generate-component-labels: | |
runs-on: ubuntu-latest | |
if: ${{ github.repository_owner == 'open-telemetry' }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Generate component labels | |
run: ./.github/workflows/scripts/generate-component-labels.sh | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |