Skip to content

Bump com.pinterest.ktlint:ktlint-cli-reporter from 0.49.1 to 0.51.0-FINAL #572

Bump com.pinterest.ktlint:ktlint-cli-reporter from 0.49.1 to 0.51.0-FINAL

Bump com.pinterest.ktlint:ktlint-cli-reporter from 0.49.1 to 0.51.0-FINAL #572

Workflow file for this run

name: changelog
on:
pull_request:
types: [opened, synchronize, labeled, unlabeled, reopened]
jobs:
build:
name: Changelog Entry Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Grep CHANGES.md for PR number
if: contains(github.event.pull_request.labels.*.name, 'skip news') != true
run: |
grep -Pz "\[(\n\s*)?#${{ github.event.pull_request.number }}(\n\s*)?\]\((\n\s*)?https://github\.com/JLLeitschuh/ktlint-gradle/pull/${{ github.event.pull_request.number }}(\n\s*)?\)" CHANGELOG.md || \
(echo "Please add '[#${{ github.event.pull_request.number }}](https://github.com/JLLeitschuh/ktlint-gradle/pull/${{ github.event.pull_request.number }})' change line to CHANGELOG.md" && \
exit 1)