Skip to content

Commit

Permalink
add: unreleased section to changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
carsakiller committed May 23, 2024
1 parent f6d3af8 commit 75ed0bf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 0 additions & 3 deletions .github/scripts/check-changelog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,9 @@ set -e

CHANGELOG_FILE="changelog.md"


git fetch origin $GITHUB_BASE_REF
git fetch

echo $(git branch -a)

# Check if the changelog file was modified in the PR
if git diff --name-only origin/$GITHUB_BASE_REF..remotes/pull/$GITHUB_SOURCE_REF | grep -q $CHANGELOG_FILE; then
echo "Thank you for updating the changelog!"
Expand Down
5 changes: 4 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# changelog

## Unreleased
<!-- Add all new changes here. They will be moved under a version at release -->

## 3.9.0
`2024-5-11`
* `NEW` goto implementation
Expand Down Expand Up @@ -123,7 +126,7 @@
Cat = 1,
Dog = 2,
}

---@param animal userdata
---@param atp AnimalType
---@return boolean
Expand Down

0 comments on commit 75ed0bf

Please sign in to comment.