Create rule S7196: Complex logic provided to PySpark withColumn
method should be refactored into a separate expression
#2961
This file contains 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
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" |