mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2024-12-01 15:04:09 +01:00
19 lines
437 B
YAML
19 lines
437 B
YAML
name: Require PR Labels
|
|
|
|
on:
|
|
pull_request:
|
|
types: [opened, labeled, unlabeled, synchronize]
|
|
branches: [main]
|
|
|
|
jobs:
|
|
require_label:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: mheap/github-action-required-labels@v2
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
with:
|
|
mode: exactly
|
|
count: 1
|
|
labels: "release:major, release:minor, release:patch, no version bump"
|