Skip to content

[pre-commit.ci] pre-commit autoupdate #5867

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #5867

name: Require PR labels
on:
pull_request:
types: [opened, labeled, unlabeled, synchronize]
jobs:
require-type-label:
if: ${{ !contains(fromJson('["dependabot", "pre-commit-ci", "renovate"]'), github.actor ) }}
runs-on: ubuntu-latest
steps:
- uses: mheap/github-action-required-labels@v5
with:
mode: exactly
count: 1
labels: "kind/.*"
use_regex: true
require-verification-label:
if: ${{ !contains(fromJson('["dependabot", "pre-commit-ci", "renovate"]'), github.actor ) }}
runs-on: ubuntu-latest
steps:
- uses: mheap/github-action-required-labels@v5
with:
mode: exactly
count: 1
labels: "tests/.*"
use_regex: true