Merge pull request #1561 from CEED/jeremy/get-sate #161
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: Release Notes | |
on: | |
push: | |
branches-ignore: | |
- main | |
pull_request: | |
jobs: | |
test: | |
strategy: | |
matrix: | |
os: [ubuntu-22.04] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Environment setup | |
uses: actions/checkout@v4 | |
- name: Check release notes | |
run: | | |
git fetch origin main | |
if git diff origin/main --exit-code include/ceed/*; then | |
echo "No public interface changes detected" | |
elif git diff origin/main --exit-code doc/sphinx/source/releasenotes.rst; then | |
echo "API changes detected, but release notes not updated" | |
exit 1 | |
fi |