Skip to content

CI Require Labels by @tim-thacker-nullify 2718d1c3f0ae95b11234fd720e068d2c43326bbe #67

CI Require Labels by @tim-thacker-nullify 2718d1c3f0ae95b11234fd720e068d2c43326bbe

CI Require Labels by @tim-thacker-nullify 2718d1c3f0ae95b11234fd720e068d2c43326bbe #67

# 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