Skip to content

Prepare next development iteration 9.0.96.1-SNAPSHOT #570

Prepare next development iteration 9.0.96.1-SNAPSHOT

Prepare next development iteration 9.0.96.1-SNAPSHOT #570

Workflow file for this run

name: Check Changelog
on:
pull_request:
types: [opened, reopened, labeled, unlabeled, synchronize]
permissions:
contents: read
jobs:
check-changelog:
runs-on: ubuntu-24.04
if: (!contains(github.event.pull_request.labels.*.name, 'skip changelog'))
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Check that CHANGELOG is touched
run: |
git fetch origin ${{ github.base_ref }} --depth 1 || exit 1
changed_root_dirs=$(git diff remotes/origin/main --name-only | awk -F'/' 'NF!=1{print $1}' | grep '^webapp-runner-' | uniq)
for changed_root_dir in $changed_root_dirs; do
git diff remotes/origin/${{ github.base_ref }} --name-only | grep "${changed_root_dir}/CHANGELOG.md" || exit 1
done