Skip to content

🤖 Bump gradle/actions from 3 to 4 #69

🤖 Bump gradle/actions from 3 to 4

🤖 Bump gradle/actions from 3 to 4 #69

Workflow file for this run

name: Verify changelog
on:
pull_request:
branches:
- main
permissions:
contents: read
concurrency:
group: ${{github.workflow}}-${{github.ref}}
cancel-in-progress: true
jobs:
verify-changelog:
name: Verify changelog
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v4
- name: Get changed files
id: changed-src-files
uses: tj-actions/changed-files@v44
with:
files: src/**/*
- name: Verify cCHANGELOG.adochangelog modifications
id: changed-changelog-md
if: steps.changed-src-files.outputs.any_changed == 'true'
uses: tj-actions/changed-files@v44
with:
files: CHANGELOG.adoc
- name: Fail if changelog was not modified
if: steps.changed-changelog-md.outputs.any_changed == 'false'
run: exit 1