Skip to content

Forbid adding a link to rules.sonarsource.com #420

Forbid adding a link to rules.sonarsource.com

Forbid adding a link to rules.sonarsource.com #420

Workflow file for this run

name: PR should have a language label
on:
pull_request:
types: [opened, labeled, unlabeled, synchronize]
jobs:
label:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: mheap/github-action-required-labels@v5
with:
mode: minimum
count: 1
add_comment: true
use_regex: true
labels: ".*"
message: "Please add a label with the relevant language(s) to be able to merge this PR"