feat: Implement high priority indicator via PR labels #32
Workflow file for this run
This file contains hidden or 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: 'Code Owners' | |
| concurrency: | |
| group: codeowners-${{ github.ref }} | |
| cancel-in-progress: true | |
| on: | |
| pull_request: | |
| branches: [main] | |
| types: [opened, reopened, synchronize, ready_for_review, labeled, unlabeled] | |
| jobs: | |
| codeowners: | |
| name: 'Run Codeowners Plus' | |
| runs-on: ubuntu-latest | |
| if: ${{ !github.event.pull_request.draft }} | |
| steps: | |
| - name: 'Checkout Code Repository' | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: 'Update action.yml to build locally' | |
| run: | | |
| sed -i "s/image: .*/image: 'Dockerfile'/" action.yml | |
| cat action.yml | |
| - name: 'Codeowners Plus' | |
| uses: ./ | |
| with: | |
| github-token: '${{ secrets.GITHUB_TOKEN }}' | |
| pr: '${{ github.event.pull_request.number }}' | |
| verbose: true |