Skip to content

issue with noether p-value #48

issue with noether p-value

issue with noether p-value #48

name: "Check Changelog Update"
on:
pull_request:
branches: [ main ] # or the default branch of your repo
jobs:
check-changelog:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Check for Changelog Updates
run: |
HEAD_CHANGELOG_HASH=$(git log -1 --format=format:%H -- docs/CHANGELOG.md)
git fetch origin ${{ github.base_ref }}
git checkout origin/${{ github.base_ref }}
BASE_CHANGELOG_HASH=$(git log -1 --format=format:%H -- docs/CHANGELOG.md)
if [ "$BASE_CHANGELOG_HASH" == "$HEAD_CHANGELOG_HASH" ]; then
echo "Changelog must be updated with every pull request."
exit 1
fi