CI Require Labels by @chrisyoonullify 9ada1eeb15f7bfe82c8c2b62c3eab017d5b6f02a #546
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
| # Require labels to be added to a PR before merging | |
| # This is configured as a branch protection setting | |
| name: CI Require Labels | |
| on: | |
| pull_request: | |
| types: [opened, labeled, unlabeled, synchronize] | |
| merge_group: | |
| run-name: CI Require Labels by @${{ github.actor }} ${{ github.sha }} | |
| permissions: | |
| pull-requests: read | |
| jobs: | |
| require-labels: | |
| if: ${{ github.event_name == 'pull_request' }} | |
| runs-on: ubuntu-latest | |
| outputs: | |
| status: ${{ steps.require-labels.outputs.status }} | |
| steps: | |
| - name: Require Labels | |
| id: require-labels | |
| uses: nullify-platform/github-actions/actions/require-labels@main |