issue with noether p-value #48
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: "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 |