Skip to content

Add changelog requirement action for major/minor bumps #9

Add changelog requirement action for major/minor bumps

Add changelog requirement action for major/minor bumps #9

name: Check API Changes
on: pull_request
jobs:
check-api-changes:
runs-on: ubuntu-latest
steps:
- name: Checkout branch
uses: actions/[email protected]
with:
fetch-depth: 2
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: temurin
cache: gradle
- name: Run API versioning check
run: |
if ! test -d .changes || git diff --quiet ${{ github.event.pull_request.base.sha }}..HEAD .changes ; then ./gradlew warnVersionBump ; else exit 0 ; fi